rpc/servlet_context.go
crusader 6fbd3d2148 ing
2017-11-28 01:22:02 +09:00

21 lines
306 B
Go

package rpc
import (
cuc "git.loafle.net/commons_go/util/context"
)
type ServletContext interface {
cuc.Context
}
type servletContext struct {
cuc.Context
}
func newServletContext(parent cuc.Context) ServletContext {
sCTX := &servletContext{}
sCTX.Context = cuc.NewContext(parent)
return sCTX
}