Documentation ¶ Index ¶ type Engine func NewEngine(ctx context.Context, logger *zap.Logger, cfg *config.Config) (*Engine, error) func (e *Engine) IsAllowed(ctx context.Context, input map[string]interface{}) (bool, error) func (e *Engine) Shutdown(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Engine ¶ type Engine struct { // contains filtered or unexported fields } func NewEngine ¶ func NewEngine(ctx context.Context, logger *zap.Logger, cfg *config.Config) (*Engine, error) func (*Engine) IsAllowed ¶ func (e *Engine) IsAllowed(ctx context.Context, input map[string]interface{}) (bool, error) func (*Engine) Shutdown ¶ func (e *Engine) Shutdown(ctx context.Context) error Source Files ¶ View all Source files engine.go Click to show internal directories. Click to hide internal directories.