server-go/server-context.go
crusader 16c6290f63 ing
2018-04-03 17:55:48 +09:00

20 lines
295 B
Go

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