consumer/consumer-context.go
crusader fa0f700a9b ing
2018-05-11 18:23:08 +09:00

20 lines
279 B
Go

package consumer
import (
cuc "git.loafle.net/commons/util-go/context"
)
type ConsumerCtx interface {
cuc.Context
}
func NewConsumerCtx(parent cuc.Context) ConsumerCtx {
return &consumerCtx{
Context: cuc.NewContext(parent),
}
}
type consumerCtx struct {
cuc.Context
}