server-go/server-ctx.go
2018-08-22 17:37:12 +09:00

20 lines
244 B
Go

package server
import (
ouc "git.loafle.net/overflow/util-go/ctx"
)
type ServerCtx interface {
ouc.Ctx
}
func NewServerCtx(parent ouc.Ctx) ServerCtx {
return &serverCtx{
Ctx: ouc.NewCtx(parent),
}
}
type serverCtx struct {
ouc.Ctx
}