server-go/server-ctx.go

20 lines
244 B
Go
Raw Permalink Normal View History

2018-08-22 08:37:12 +00:00
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
}