Documentation ¶
Overview ¶
Package krakend registers a bloomfilter given a config and registers the service with consul.
Index ¶
Constants ¶
View Source
const Namespace = "github_com/devopsfaith/bloomfilter"
Namespace for bloomfilter
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rejecter ¶
type Rejecter struct { BF bloomfilter.Bloomfilter TokenKeys []string Headers []string }
func Register ¶
func Register(ctx context.Context, serviceName string, cfg config.ServiceConfig, logger logging.Logger, register func(n string, p int)) (Rejecter, error)
Register registers a bloomfilter given a config and registers the service with consul
func (*Rejecter) RejectToken ¶
Click to show internal directories.
Click to hide internal directories.