20 lines
244 B
Go
20 lines
244 B
Go
|
package client
|
||
|
|
||
|
import (
|
||
|
ouc "git.loafle.net/overflow/util-go/ctx"
|
||
|
)
|
||
|
|
||
|
type ClientCtx interface {
|
||
|
ouc.Ctx
|
||
|
}
|
||
|
|
||
|
func NewClientCtx(parent ouc.Ctx) ClientCtx {
|
||
|
return &clientCtx{
|
||
|
Ctx: ouc.NewCtx(parent),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type clientCtx struct {
|
||
|
ouc.Ctx
|
||
|
}
|