rpc/servlet_context.go
crusader c0fdabe039 ing
2017-11-29 01:24:16 +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
}