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