Documentation ¶
Index ¶
Constants ¶
View Source
const ( EntityWallet = "wallet" EntityAdmin = "admin" EntityManager = "manager" EntityArk = "ark" EntityExplorer = "explorer" EntityHealth = "health" )
Variables ¶
This section is empty.
Functions ¶
func AdminPermissions ¶
AdminPermissions returns the permissions of the macaroon admin.macaroon. This grants access to the all actions for all entities.
func AllPermissionsByMethod ¶
AllPermissionsByMethod returns a mapping of the RPC server calls to the permissions they require.
func ManagerPermissions ¶
ManagerPermissions returns the permissions of the macaroon manager.macaroon. This grants access to the all actions for the manager entity.
func ReadOnlyPermissions ¶
ReadOnlyPermissions returns the permissions of the macaroon readonly.macaroon. This grants access to the read action for all entities.
func WalletPermissions ¶
WalletPermissions returns the permissions of the macaroon wallet.macaroon. This grants access to the all actions for the wallet entity.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.