Documentation ¶
Overview ¶
Package sonic registers a bloomfilter given a config and registers the service with consul
Index ¶
Constants ¶
View Source
const Namespace = "github.com/starvn/go-bloom-filter"
Variables ¶
View Source
var (
ErrNoConfig = errors.New("no config for the bloomfilter")
)
Functions ¶
This section is empty.
Types ¶
type Rejecter ¶
type Rejecter struct { BF bloomfilter.BloomFilter TokenKeys []string Headers []string }
func (*Rejecter) RejectToken ¶
Click to show internal directories.
Click to hide internal directories.