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) GetAuthority() string
- func (x *Module) GetMaxMetadataLen() uint64
- func (x *Module) GetMaxSummaryLen() uint64
- func (x *Module) GetMaxTitleLen() uint64
- func (x *Module) GetMaxVoteOptionsLen() uint64
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cosmos_gov_module_v1_module_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { // max_metadata_len defines the maximum proposal metadata length. // Defaults to 255 if not explicitly set. MaxMetadataLen uint64 `protobuf:"varint,1,opt,name=max_metadata_len,json=maxMetadataLen,proto3" json:"max_metadata_len,omitempty"` // authority defines the custom module authority. If not set, defaults to the governance module. Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` // max_title_len defines the maximum proposal title length. // Defaults to 255 if not explicitly set. MaxTitleLen uint64 `protobuf:"varint,3,opt,name=max_title_len,json=maxTitleLen,proto3" json:"max_title_len,omitempty"` // max_summary_len defines the maximum proposal summary length. // Defaults to 10200 if not explicitly set. MaxSummaryLen uint64 `protobuf:"varint,4,opt,name=max_summary_len,json=maxSummaryLen,proto3" json:"max_summary_len,omitempty"` // max_vote_options_len defines the maximum number of vote options a proposal can have. // Defaults to 0 if not explicitly set. MaxVoteOptionsLen uint64 `protobuf:"varint,5,opt,name=max_vote_options_len,json=maxVoteOptionsLen,proto3" json:"max_vote_options_len,omitempty"` // contains filtered or unexported fields }
Module is the config object of the gov module.
func (*Module) Descriptor
deprecated
func (*Module) GetAuthority ¶ added in v0.2.4
func (*Module) GetMaxMetadataLen ¶
func (*Module) GetMaxSummaryLen ¶ added in v0.8.0
func (*Module) GetMaxTitleLen ¶ added in v0.8.0
func (*Module) GetMaxVoteOptionsLen ¶ added in v0.8.0
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.