Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetBech32Prefix() string
- func (x *Module) GetModuleAccountPermissions() []*ModuleAccountPermission
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type ModuleAccountPermission
- func (*ModuleAccountPermission) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleAccountPermission) GetAccount() string
- func (x *ModuleAccountPermission) GetPermissions() []string
- func (*ModuleAccountPermission) ProtoMessage()
- func (x *ModuleAccountPermission) ProtoReflect() protoreflect.Message
- func (x *ModuleAccountPermission) Reset()
- func (x *ModuleAccountPermission) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cosmos_auth_module_v1_module_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { // bech32_prefix is the bech32 account prefix for the app. Bech32Prefix string `protobuf:"bytes,1,opt,name=bech32_prefix,json=bech32Prefix,proto3" json:"bech32_prefix,omitempty"` // module_account_permissions are module account permissions. ModuleAccountPermissions []*ModuleAccountPermission `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Module is the config object for the auth module.
func (*Module) GetModuleAccountPermissions ¶
func (x *Module) GetModuleAccountPermissions() []*ModuleAccountPermission
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ModuleAccountPermission ¶
type ModuleAccountPermission struct { // account is the name of the module. Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // permissions are the permissions this module has. Currently recognized // values are minter, burner and staking. Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
ModuleAccountPermission represents permissions for a module account.
func (*ModuleAccountPermission) Descriptor
deprecated
func (*ModuleAccountPermission) Descriptor() ([]byte, []int)
Deprecated: Use ModuleAccountPermission.ProtoReflect.Descriptor instead.
func (*ModuleAccountPermission) GetAccount ¶
func (x *ModuleAccountPermission) GetAccount() string
func (*ModuleAccountPermission) GetPermissions ¶
func (x *ModuleAccountPermission) GetPermissions() []string
func (*ModuleAccountPermission) ProtoMessage ¶
func (*ModuleAccountPermission) ProtoMessage()
func (*ModuleAccountPermission) ProtoReflect ¶
func (x *ModuleAccountPermission) ProtoReflect() protoreflect.Message
func (*ModuleAccountPermission) Reset ¶
func (x *ModuleAccountPermission) Reset()
func (*ModuleAccountPermission) String ¶
func (x *ModuleAccountPermission) String() string
Click to show internal directories.
Click to hide internal directories.