ing
This commit is contained in:
parent
d6f1d97687
commit
013c6a0f29
|
@ -12,7 +12,7 @@ type serverContext struct {
|
|||
cwf.ServerContext
|
||||
}
|
||||
|
||||
func NewServerContext(serverCTX cwf.ServerContext) ServerContext {
|
||||
func newServerContext(serverCTX cwf.ServerContext) ServerContext {
|
||||
sCTX := &serverContext{}
|
||||
sCTX.ServerContext = serverCTX
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ type ServerHandlers struct {
|
|||
subscribers []oos.SubscriberHandler
|
||||
}
|
||||
|
||||
func (sh *ServerHandlers) ServerContext() ServerContext {
|
||||
func (sh *ServerHandlers) ServerContext() cwf.ServerContext {
|
||||
serverCTX := sh.ServerHandlers.ServerContext()
|
||||
|
||||
return newServerContext(serverCTX)
|
||||
|
|
Loading…
Reference in New Issue
Block a user