20 lines
244 B
Go
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
|
|
}
|