From 013c6a0f298889e2d1375d1451213769cef4bc55 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 28 Nov 2017 19:48:58 +0900 Subject: [PATCH] ing --- server/server_context.go | 2 +- server/server_handlers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/server_context.go b/server/server_context.go index b5d930b..a00a64b 100644 --- a/server/server_context.go +++ b/server/server_context.go @@ -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 diff --git a/server/server_handlers.go b/server/server_handlers.go index 710dea2..5e0b6b9 100644 --- a/server/server_handlers.go +++ b/server/server_handlers.go @@ -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)