Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCheckEngineWithHashring ¶
func NewCheckEngineWithHashring(checker invoke.Check, consistent *hash.ConsistentHash, g *gossip.Gossip, port string, l *logger.Logger, options ...grpc.DialOption) (invoke.Check, error)
NewCheckEngineWithHashring creates a new instance of EngineKeyManager by initializing an EngineKeys struct with the provided cache.Cache instance.
Types ¶
type Hashring ¶
type Hashring struct {
// contains filtered or unexported fields
}
Hashring is a wrapper around the consistent hash implementation that
func (*Hashring) Check ¶
func (c *Hashring) Check(ctx context.Context, request *base.PermissionCheckRequest) (response *base.PermissionCheckResponse, err error)
Click to show internal directories.
Click to hide internal directories.