This commit is contained in:
crusader 2017-11-28 19:48:58 +09:00
parent d6f1d97687
commit 013c6a0f29
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)