consumer/consumer-context.go

20 lines
279 B
Go
Raw Permalink Normal View History

2018-05-11 09:23:08 +00:00
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
}