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