20 lines
267 B
Go
20 lines
267 B
Go
|
package client
|
||
|
|
||
|
import (
|
||
|
cuc "git.loafle.net/commons/util-go/context"
|
||
|
)
|
||
|
|
||
|
type ClientCtx interface {
|
||
|
cuc.Context
|
||
|
}
|
||
|
|
||
|
func NewClientCtx(parent cuc.Context) ClientCtx {
|
||
|
return &clientCtx{
|
||
|
Context: cuc.NewContext(parent),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type clientCtx struct {
|
||
|
cuc.Context
|
||
|
}
|