package
2.10.1
Repository: https://github.com/itzmanish/go-micro.git
Documentation: pkg.go.dev

# Functions

Authorize will return an error if the context cannot access the given namespace.
Public indicates a namespace is public and can be accessed by anyone.

# Constants

DefaultNamespace used by the server.

# Variables

ErrForbidden is returned by Authorize when a context is trying to access a namespace it doesn't have access to.
ErrUnauthorized is returned by Authorize when a context without a blank account tries to access a restricted namespace.

# Structs

AuthorizeOptions are used to configure the Authorize method.

# Type aliases

AuthorizeOption sets an attribute on AuthorizeOptions.