Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GenesisState
- type MsgClient
- type MsgServer
- type MsgSetRoutingRules
- func (*MsgSetRoutingRules) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetRoutingRules) GetAuthority() string
- func (x *MsgSetRoutingRules) GetDescription() string
- func (x *MsgSetRoutingRules) GetRules() []string
- func (x *MsgSetRoutingRules) GetTitle() string
- func (*MsgSetRoutingRules) ProtoMessage()
- func (x *MsgSetRoutingRules) ProtoReflect() protoreflect.Message
- func (x *MsgSetRoutingRules) Reset()
- func (x *MsgSetRoutingRules) String() string
- type MsgSetRoutingRulesResponse
- type QueryClient
- type QueryRoutingRulesRequest
- type QueryRoutingRulesResponse
- func (*QueryRoutingRulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRoutingRulesResponse) GetRules() []string
- func (*QueryRoutingRulesResponse) ProtoMessage()
- func (x *QueryRoutingRulesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRoutingRulesResponse) Reset()
- func (x *QueryRoutingRulesResponse) String() string
- type QueryServer
- type SetRoutingRulesProposal
- func (*SetRoutingRulesProposal) Descriptor() ([]byte, []int)deprecated
- func (x *SetRoutingRulesProposal) GetDescription() string
- func (x *SetRoutingRulesProposal) GetRules() []string
- func (x *SetRoutingRulesProposal) GetTitle() string
- func (*SetRoutingRulesProposal) ProtoMessage()
- func (x *SetRoutingRulesProposal) ProtoReflect() protoreflect.Message
- func (x *SetRoutingRulesProposal) Reset()
- func (x *SetRoutingRulesProposal) String() string
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const (
Msg_SetRoutingRules_FullMethodName = "/tibc.core.routing.v1.Msg/SetRoutingRules"
)
const (
Query_RoutingRules_FullMethodName = "/tibc.core.routing.v1.Query/RoutingRules"
)
Variables ¶
var File_tibc_core_routing_v1_genesis_proto protoreflect.FileDescriptor
var File_tibc_core_routing_v1_query_proto protoreflect.FileDescriptor
var File_tibc_core_routing_v1_routing_proto protoreflect.FileDescriptor
var File_tibc_core_routing_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tibc.core.routing.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetRoutingRules", Handler: _Msg_SetRoutingRules_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "tibc/core/routing/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tibc.core.routing.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RoutingRules", Handler: _Query_RoutingRules_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "tibc/core/routing/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type GenesisState ¶
type GenesisState struct { Rules []string `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
GenesisState defines the tibc channel submodule's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetRules ¶
func (x *GenesisState) GetRules() []string
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type MsgClient ¶
type MsgClient interface { // SetRoutingRules defines a rpc handler method for MsgSetRoutingRules. SetRoutingRules(ctx context.Context, in *MsgSetRoutingRules, opts ...grpc.CallOption) (*MsgSetRoutingRulesResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Msg defines the tibc/routing Msg service.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgServer ¶
type MsgServer interface { // SetRoutingRules defines a rpc handler method for MsgSetRoutingRules. SetRoutingRules(context.Context, *MsgSetRoutingRules) (*MsgSetRoutingRulesResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility.
Msg defines the tibc/routing Msg service.
type MsgSetRoutingRules ¶
type MsgSetRoutingRules struct { // the title of the update proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // the description of the proposal Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // routing rules list Rules []string `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"` // contains filtered or unexported fields }
MsgSetRoutingRules defines a proposal to set routing rules
func (*MsgSetRoutingRules) Descriptor
deprecated
func (*MsgSetRoutingRules) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetRoutingRules.ProtoReflect.Descriptor instead.
func (*MsgSetRoutingRules) GetAuthority ¶
func (x *MsgSetRoutingRules) GetAuthority() string
func (*MsgSetRoutingRules) GetDescription ¶
func (x *MsgSetRoutingRules) GetDescription() string
func (*MsgSetRoutingRules) GetRules ¶
func (x *MsgSetRoutingRules) GetRules() []string
func (*MsgSetRoutingRules) GetTitle ¶
func (x *MsgSetRoutingRules) GetTitle() string
func (*MsgSetRoutingRules) ProtoMessage ¶
func (*MsgSetRoutingRules) ProtoMessage()
func (*MsgSetRoutingRules) ProtoReflect ¶
func (x *MsgSetRoutingRules) ProtoReflect() protoreflect.Message
func (*MsgSetRoutingRules) Reset ¶
func (x *MsgSetRoutingRules) Reset()
func (*MsgSetRoutingRules) String ¶
func (x *MsgSetRoutingRules) String() string
type MsgSetRoutingRulesResponse ¶
type MsgSetRoutingRulesResponse struct {
// contains filtered or unexported fields
}
MsgSetRoutingRulesResponse defines the Msg/SetRoutingRules response type.
func (*MsgSetRoutingRulesResponse) Descriptor
deprecated
func (*MsgSetRoutingRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetRoutingRulesResponse.ProtoReflect.Descriptor instead.
func (*MsgSetRoutingRulesResponse) ProtoMessage ¶
func (*MsgSetRoutingRulesResponse) ProtoMessage()
func (*MsgSetRoutingRulesResponse) ProtoReflect ¶
func (x *MsgSetRoutingRulesResponse) ProtoReflect() protoreflect.Message
func (*MsgSetRoutingRulesResponse) Reset ¶
func (x *MsgSetRoutingRulesResponse) Reset()
func (*MsgSetRoutingRulesResponse) String ¶
func (x *MsgSetRoutingRulesResponse) String() string
type QueryClient ¶
type QueryClient interface { // RoutingRules queries all routing rules. RoutingRules(ctx context.Context, in *QueryRoutingRulesRequest, opts ...grpc.CallOption) (*QueryRoutingRulesResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Query provides defines the gRPC querier service
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryRoutingRulesRequest ¶
type QueryRoutingRulesRequest struct {
// contains filtered or unexported fields
}
QueryRoutingRulesRequest is the request type for the RoutingRules RPC method
func (*QueryRoutingRulesRequest) Descriptor
deprecated
func (*QueryRoutingRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRoutingRulesRequest.ProtoReflect.Descriptor instead.
func (*QueryRoutingRulesRequest) ProtoMessage ¶
func (*QueryRoutingRulesRequest) ProtoMessage()
func (*QueryRoutingRulesRequest) ProtoReflect ¶
func (x *QueryRoutingRulesRequest) ProtoReflect() protoreflect.Message
func (*QueryRoutingRulesRequest) Reset ¶
func (x *QueryRoutingRulesRequest) Reset()
func (*QueryRoutingRulesRequest) String ¶
func (x *QueryRoutingRulesRequest) String() string
type QueryRoutingRulesResponse ¶
type QueryRoutingRulesResponse struct { // rule string array Rules []string `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
QueryRoutingRulesResponse defines the routing rules query response
func (*QueryRoutingRulesResponse) Descriptor
deprecated
func (*QueryRoutingRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRoutingRulesResponse.ProtoReflect.Descriptor instead.
func (*QueryRoutingRulesResponse) GetRules ¶
func (x *QueryRoutingRulesResponse) GetRules() []string
func (*QueryRoutingRulesResponse) ProtoMessage ¶
func (*QueryRoutingRulesResponse) ProtoMessage()
func (*QueryRoutingRulesResponse) ProtoReflect ¶
func (x *QueryRoutingRulesResponse) ProtoReflect() protoreflect.Message
func (*QueryRoutingRulesResponse) Reset ¶
func (x *QueryRoutingRulesResponse) Reset()
func (*QueryRoutingRulesResponse) String ¶
func (x *QueryRoutingRulesResponse) String() string
type QueryServer ¶
type QueryServer interface { // RoutingRules queries all routing rules. RoutingRules(context.Context, *QueryRoutingRulesRequest) (*QueryRoutingRulesResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility.
Query provides defines the gRPC querier service
type SetRoutingRulesProposal ¶
type SetRoutingRulesProposal struct { // the title of the update proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // the description of the proposal Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // routing rules list Rules []string `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
SetRoutingRulesProposal defines a proposal to set routing rules
func (*SetRoutingRulesProposal) Descriptor
deprecated
func (*SetRoutingRulesProposal) Descriptor() ([]byte, []int)
Deprecated: Use SetRoutingRulesProposal.ProtoReflect.Descriptor instead.
func (*SetRoutingRulesProposal) GetDescription ¶
func (x *SetRoutingRulesProposal) GetDescription() string
func (*SetRoutingRulesProposal) GetRules ¶
func (x *SetRoutingRulesProposal) GetRules() []string
func (*SetRoutingRulesProposal) GetTitle ¶
func (x *SetRoutingRulesProposal) GetTitle() string
func (*SetRoutingRulesProposal) ProtoMessage ¶
func (*SetRoutingRulesProposal) ProtoMessage()
func (*SetRoutingRulesProposal) ProtoReflect ¶
func (x *SetRoutingRulesProposal) ProtoReflect() protoreflect.Message
func (*SetRoutingRulesProposal) Reset ¶
func (x *SetRoutingRulesProposal) Reset()
func (*SetRoutingRulesProposal) String ¶
func (x *SetRoutingRulesProposal) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct{}
UnimplementedMsgServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMsgServer) SetRoutingRules ¶
func (UnimplementedMsgServer) SetRoutingRules(context.Context, *MsgSetRoutingRules) (*MsgSetRoutingRulesResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct{}
UnimplementedQueryServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedQueryServer) RoutingRules ¶
func (UnimplementedQueryServer) RoutingRules(context.Context, *QueryRoutingRulesRequest) (*QueryRoutingRulesResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.