server-go/server-context.go
crusader f85b949e66 ing
2018-04-04 13:01:26 +09:00

20 lines
267 B
Go

package server
import (
cuc "git.loafle.net/commons/util-go/context"
)
type ServerCtx interface {
cuc.Context
}
func NewServerCtx(parent cuc.Context) ServerCtx {
return &serverCtx{
Context: cuc.NewContext(parent),
}
}
type serverCtx struct {
cuc.Context
}