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 AssetParam
- func (*AssetParam) Descriptor() ([]byte, []int)deprecated
- func (x *AssetParam) GetActive() bool
- func (x *AssetParam) GetDenom() string
- func (x *AssetParam) GetDeputyAddress() string
- func (x *AssetParam) GetFixedFee() string
- func (x *AssetParam) GetMaxBlockLock() uint64
- func (x *AssetParam) GetMaxSwapAmount() string
- func (x *AssetParam) GetMinBlockLock() uint64
- func (x *AssetParam) GetMinSwapAmount() string
- func (x *AssetParam) GetSupplyLimit() *SupplyLimit
- func (*AssetParam) ProtoMessage()
- func (x *AssetParam) ProtoReflect() protoreflect.Message
- func (x *AssetParam) Reset()
- func (x *AssetParam) String() string
- type AssetSupply
- func (*AssetSupply) Descriptor() ([]byte, []int)deprecated
- func (x *AssetSupply) GetCurrentSupply() *v1beta1.Coin
- func (x *AssetSupply) GetIncomingSupply() *v1beta1.Coin
- func (x *AssetSupply) GetOutgoingSupply() *v1beta1.Coin
- func (x *AssetSupply) GetTimeElapsed() *durationpb.Duration
- func (x *AssetSupply) GetTimeLimitedCurrentSupply() *v1beta1.Coin
- func (*AssetSupply) ProtoMessage()
- func (x *AssetSupply) ProtoReflect() protoreflect.Message
- func (x *AssetSupply) Reset()
- func (x *AssetSupply) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetHtlcs() []*HTLC
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetPreviousBlockTime() *timestamppb.Timestamp
- func (x *GenesisState) GetSupplies() []*AssetSupply
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type HTLC
- func (*HTLC) Descriptor() ([]byte, []int)deprecated
- func (x *HTLC) GetAmount() []*v1beta1.Coin
- func (x *HTLC) GetClosedBlock() uint64
- func (x *HTLC) GetDirection() SwapDirection
- func (x *HTLC) GetExpirationHeight() uint64
- func (x *HTLC) GetHashLock() string
- func (x *HTLC) GetId() string
- func (x *HTLC) GetReceiverOnOtherChain() string
- func (x *HTLC) GetSecret() string
- func (x *HTLC) GetSender() string
- func (x *HTLC) GetSenderOnOtherChain() string
- func (x *HTLC) GetState() HTLCState
- func (x *HTLC) GetTimestamp() uint64
- func (x *HTLC) GetTo() string
- func (x *HTLC) GetTransfer() bool
- func (*HTLC) ProtoMessage()
- func (x *HTLC) ProtoReflect() protoreflect.Message
- func (x *HTLC) Reset()
- func (x *HTLC) String() string
- type HTLCState
- type MsgClaimHTLC
- func (*MsgClaimHTLC) Descriptor() ([]byte, []int)deprecated
- func (x *MsgClaimHTLC) GetId() string
- func (x *MsgClaimHTLC) GetSecret() string
- func (x *MsgClaimHTLC) GetSender() string
- func (*MsgClaimHTLC) ProtoMessage()
- func (x *MsgClaimHTLC) ProtoReflect() protoreflect.Message
- func (x *MsgClaimHTLC) Reset()
- func (x *MsgClaimHTLC) String() string
- type MsgClaimHTLCResponse
- type MsgClient
- type MsgCreateHTLC
- func (*MsgCreateHTLC) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateHTLC) GetAmount() []*v1beta1.Coin
- func (x *MsgCreateHTLC) GetHashLock() string
- func (x *MsgCreateHTLC) GetReceiverOnOtherChain() string
- func (x *MsgCreateHTLC) GetSender() string
- func (x *MsgCreateHTLC) GetSenderOnOtherChain() string
- func (x *MsgCreateHTLC) GetTimeLock() uint64
- func (x *MsgCreateHTLC) GetTimestamp() uint64
- func (x *MsgCreateHTLC) GetTo() string
- func (x *MsgCreateHTLC) GetTransfer() bool
- func (*MsgCreateHTLC) ProtoMessage()
- func (x *MsgCreateHTLC) ProtoReflect() protoreflect.Message
- func (x *MsgCreateHTLC) Reset()
- func (x *MsgCreateHTLC) String() string
- type MsgCreateHTLCResponse
- func (*MsgCreateHTLCResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateHTLCResponse) GetId() string
- func (*MsgCreateHTLCResponse) ProtoMessage()
- func (x *MsgCreateHTLCResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateHTLCResponse) Reset()
- func (x *MsgCreateHTLCResponse) String() string
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- type QueryAssetSuppliesRequest
- type QueryAssetSuppliesResponse
- func (*QueryAssetSuppliesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAssetSuppliesResponse) GetAssetSupplies() []*AssetSupply
- func (*QueryAssetSuppliesResponse) ProtoMessage()
- func (x *QueryAssetSuppliesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAssetSuppliesResponse) Reset()
- func (x *QueryAssetSuppliesResponse) String() string
- type QueryAssetSupplyRequest
- func (*QueryAssetSupplyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAssetSupplyRequest) GetDenom() string
- func (*QueryAssetSupplyRequest) ProtoMessage()
- func (x *QueryAssetSupplyRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAssetSupplyRequest) Reset()
- func (x *QueryAssetSupplyRequest) String() string
- type QueryAssetSupplyResponse
- func (*QueryAssetSupplyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAssetSupplyResponse) GetAssetSupply() *AssetSupply
- func (*QueryAssetSupplyResponse) ProtoMessage()
- func (x *QueryAssetSupplyResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAssetSupplyResponse) Reset()
- func (x *QueryAssetSupplyResponse) String() string
- type QueryClient
- type QueryHTLCRequest
- type QueryHTLCResponse
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type SupplyLimit
- func (*SupplyLimit) Descriptor() ([]byte, []int)deprecated
- func (x *SupplyLimit) GetLimit() string
- func (x *SupplyLimit) GetTimeBasedLimit() string
- func (x *SupplyLimit) GetTimeLimited() bool
- func (x *SupplyLimit) GetTimePeriod() *durationpb.Duration
- func (*SupplyLimit) ProtoMessage()
- func (x *SupplyLimit) ProtoReflect() protoreflect.Message
- func (x *SupplyLimit) Reset()
- func (x *SupplyLimit) String() string
- type SwapDirection
- func (SwapDirection) Descriptor() protoreflect.EnumDescriptor
- func (x SwapDirection) Enum() *SwapDirection
- func (SwapDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x SwapDirection) Number() protoreflect.EnumNumber
- func (x SwapDirection) String() string
- func (SwapDirection) Type() protoreflect.EnumType
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) ClaimHTLC(context.Context, *MsgClaimHTLC) (*MsgClaimHTLCResponse, error)
- func (UnimplementedMsgServer) CreateHTLC(context.Context, *MsgCreateHTLC) (*MsgCreateHTLCResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) AssetSupplies(context.Context, *QueryAssetSuppliesRequest) (*QueryAssetSuppliesResponse, error)
- func (UnimplementedQueryServer) AssetSupply(context.Context, *QueryAssetSupplyRequest) (*QueryAssetSupplyResponse, error)
- func (UnimplementedQueryServer) HTLC(context.Context, *QueryHTLCRequest) (*QueryHTLCResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_HTLC_FullMethodName = "/irismod.htlc.Query/HTLC" Query_AssetSupply_FullMethodName = "/irismod.htlc.Query/AssetSupply" Query_AssetSupplies_FullMethodName = "/irismod.htlc.Query/AssetSupplies" Query_Params_FullMethodName = "/irismod.htlc.Query/Params" )
const ( Msg_CreateHTLC_FullMethodName = "/irismod.htlc.Msg/CreateHTLC" Msg_ClaimHTLC_FullMethodName = "/irismod.htlc.Msg/ClaimHTLC" Msg_UpdateParams_FullMethodName = "/irismod.htlc.Msg/UpdateParams" )
Variables ¶
var ( HTLCState_name = map[int32]string{ 0: "HTLC_STATE_OPEN", 1: "HTLC_STATE_COMPLETED", 2: "HTLC_STATE_REFUNDED", } HTLCState_value = map[string]int32{ "HTLC_STATE_OPEN": 0, "HTLC_STATE_COMPLETED": 1, "HTLC_STATE_REFUNDED": 2, } )
Enum value maps for HTLCState.
var ( SwapDirection_name = map[int32]string{ 0: "NONE", 1: "INCOMING", 2: "OUTGOING", } SwapDirection_value = map[string]int32{ "NONE": 0, "INCOMING": 1, "OUTGOING": 2, } )
Enum value maps for SwapDirection.
var File_irismod_htlc_genesis_proto protoreflect.FileDescriptor
var File_irismod_htlc_htlc_proto protoreflect.FileDescriptor
var File_irismod_htlc_query_proto protoreflect.FileDescriptor
var File_irismod_htlc_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "irismod.htlc.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateHTLC", Handler: _Msg_CreateHTLC_Handler, }, { MethodName: "ClaimHTLC", Handler: _Msg_ClaimHTLC_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "irismod/htlc/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: "irismod.htlc.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HTLC", Handler: _Query_HTLC_Handler, }, { MethodName: "AssetSupply", Handler: _Query_AssetSupply_Handler, }, { MethodName: "AssetSupplies", Handler: _Query_AssetSupplies_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "irismod/htlc/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 AssetParam ¶
type AssetParam struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // name of the asset SupplyLimit *SupplyLimit `protobuf:"bytes,2,opt,name=supply_limit,json=supplyLimit,proto3" json:"supply_limit,omitempty"` // asset supply limit Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // denotes if asset is available or paused DeputyAddress string `protobuf:"bytes,4,opt,name=deputy_address,json=deputyAddress,proto3" json:"deputy_address,omitempty"` // the address of the relayer process FixedFee string `protobuf:"bytes,5,opt,name=fixed_fee,json=fixedFee,proto3" json:"fixed_fee,omitempty"` // the fixed fee charged by the relayer process for outgoing swaps MinSwapAmount string `protobuf:"bytes,6,opt,name=min_swap_amount,json=minSwapAmount,proto3" json:"min_swap_amount,omitempty"` // Minimum swap amount MaxSwapAmount string `protobuf:"bytes,7,opt,name=max_swap_amount,json=maxSwapAmount,proto3" json:"max_swap_amount,omitempty"` // Maximum swap amount MinBlockLock uint64 `protobuf:"varint,8,opt,name=min_block_lock,json=minBlockLock,proto3" json:"min_block_lock,omitempty"` // Minimum swap block lock MaxBlockLock uint64 `protobuf:"varint,9,opt,name=max_block_lock,json=maxBlockLock,proto3" json:"max_block_lock,omitempty"` // Maximum swap block lock // contains filtered or unexported fields }
AssetParam defines the struct of an AssetParam
func (*AssetParam) Descriptor
deprecated
func (*AssetParam) Descriptor() ([]byte, []int)
Deprecated: Use AssetParam.ProtoReflect.Descriptor instead.
func (*AssetParam) GetActive ¶
func (x *AssetParam) GetActive() bool
func (*AssetParam) GetDenom ¶
func (x *AssetParam) GetDenom() string
func (*AssetParam) GetDeputyAddress ¶
func (x *AssetParam) GetDeputyAddress() string
func (*AssetParam) GetFixedFee ¶
func (x *AssetParam) GetFixedFee() string
func (*AssetParam) GetMaxBlockLock ¶
func (x *AssetParam) GetMaxBlockLock() uint64
func (*AssetParam) GetMaxSwapAmount ¶
func (x *AssetParam) GetMaxSwapAmount() string
func (*AssetParam) GetMinBlockLock ¶
func (x *AssetParam) GetMinBlockLock() uint64
func (*AssetParam) GetMinSwapAmount ¶
func (x *AssetParam) GetMinSwapAmount() string
func (*AssetParam) GetSupplyLimit ¶
func (x *AssetParam) GetSupplyLimit() *SupplyLimit
func (*AssetParam) ProtoMessage ¶
func (*AssetParam) ProtoMessage()
func (*AssetParam) ProtoReflect ¶
func (x *AssetParam) ProtoReflect() protoreflect.Message
func (*AssetParam) Reset ¶
func (x *AssetParam) Reset()
func (*AssetParam) String ¶
func (x *AssetParam) String() string
type AssetSupply ¶
type AssetSupply struct { IncomingSupply *v1beta1.Coin `protobuf:"bytes,1,opt,name=incoming_supply,json=incomingSupply,proto3" json:"incoming_supply,omitempty"` OutgoingSupply *v1beta1.Coin `protobuf:"bytes,2,opt,name=outgoing_supply,json=outgoingSupply,proto3" json:"outgoing_supply,omitempty"` CurrentSupply *v1beta1.Coin `protobuf:"bytes,3,opt,name=current_supply,json=currentSupply,proto3" json:"current_supply,omitempty"` TimeLimitedCurrentSupply *v1beta1.Coin `` /* 137-byte string literal not displayed */ TimeElapsed *durationpb.Duration `protobuf:"bytes,5,opt,name=time_elapsed,json=timeElapsed,proto3" json:"time_elapsed,omitempty"` // contains filtered or unexported fields }
AssetSupply defines the struct of an AssetSupply
func (*AssetSupply) Descriptor
deprecated
func (*AssetSupply) Descriptor() ([]byte, []int)
Deprecated: Use AssetSupply.ProtoReflect.Descriptor instead.
func (*AssetSupply) GetCurrentSupply ¶
func (x *AssetSupply) GetCurrentSupply() *v1beta1.Coin
func (*AssetSupply) GetIncomingSupply ¶
func (x *AssetSupply) GetIncomingSupply() *v1beta1.Coin
func (*AssetSupply) GetOutgoingSupply ¶
func (x *AssetSupply) GetOutgoingSupply() *v1beta1.Coin
func (*AssetSupply) GetTimeElapsed ¶
func (x *AssetSupply) GetTimeElapsed() *durationpb.Duration
func (*AssetSupply) GetTimeLimitedCurrentSupply ¶
func (x *AssetSupply) GetTimeLimitedCurrentSupply() *v1beta1.Coin
func (*AssetSupply) ProtoMessage ¶
func (*AssetSupply) ProtoMessage()
func (*AssetSupply) ProtoReflect ¶
func (x *AssetSupply) ProtoReflect() protoreflect.Message
func (*AssetSupply) Reset ¶
func (x *AssetSupply) Reset()
func (*AssetSupply) String ¶
func (x *AssetSupply) String() string
type GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` Htlcs []*HTLC `protobuf:"bytes,2,rep,name=htlcs,proto3" json:"htlcs,omitempty"` Supplies []*AssetSupply `protobuf:"bytes,3,rep,name=supplies,proto3" json:"supplies,omitempty"` PreviousBlockTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=previous_block_time,json=previousBlockTime,proto3" json:"previous_block_time,omitempty"` // contains filtered or unexported fields }
GenesisState defines the HTLC module's genesis state
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetHtlcs ¶
func (x *GenesisState) GetHtlcs() []*HTLC
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetPreviousBlockTime ¶
func (x *GenesisState) GetPreviousBlockTime() *timestamppb.Timestamp
func (*GenesisState) GetSupplies ¶
func (x *GenesisState) GetSupplies() []*AssetSupply
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 HTLC ¶
type HTLC struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` ReceiverOnOtherChain string `protobuf:"bytes,4,opt,name=receiver_on_other_chain,json=receiverOnOtherChain,proto3" json:"receiver_on_other_chain,omitempty"` SenderOnOtherChain string `protobuf:"bytes,5,opt,name=sender_on_other_chain,json=senderOnOtherChain,proto3" json:"sender_on_other_chain,omitempty"` Amount []*v1beta1.Coin `protobuf:"bytes,6,rep,name=amount,proto3" json:"amount,omitempty"` HashLock string `protobuf:"bytes,7,opt,name=hash_lock,json=hashLock,proto3" json:"hash_lock,omitempty"` Secret string `protobuf:"bytes,8,opt,name=secret,proto3" json:"secret,omitempty"` Timestamp uint64 `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ExpirationHeight uint64 `protobuf:"varint,10,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` State HTLCState `protobuf:"varint,11,opt,name=state,proto3,enum=irismod.htlc.HTLCState" json:"state,omitempty"` ClosedBlock uint64 `protobuf:"varint,12,opt,name=closed_block,json=closedBlock,proto3" json:"closed_block,omitempty"` Transfer bool `protobuf:"varint,13,opt,name=transfer,proto3" json:"transfer,omitempty"` Direction SwapDirection `protobuf:"varint,14,opt,name=direction,proto3,enum=irismod.htlc.SwapDirection" json:"direction,omitempty"` // contains filtered or unexported fields }
HTLC defines the struct of an HTLC
func (*HTLC) GetDirection ¶
func (x *HTLC) GetDirection() SwapDirection
func (*HTLC) ProtoReflect ¶
func (x *HTLC) ProtoReflect() protoreflect.Message
type HTLCState ¶
type HTLCState int32
HTLCState defines the state of an HTLC
func (HTLCState) Descriptor ¶
func (HTLCState) Descriptor() protoreflect.EnumDescriptor
func (HTLCState) Number ¶
func (x HTLCState) Number() protoreflect.EnumNumber
func (HTLCState) Type ¶
func (HTLCState) Type() protoreflect.EnumType
type MsgClaimHTLC ¶
type MsgClaimHTLC struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
MsgClaimHTLC defines a message to claim an HTLC
func (*MsgClaimHTLC) Descriptor
deprecated
func (*MsgClaimHTLC) Descriptor() ([]byte, []int)
Deprecated: Use MsgClaimHTLC.ProtoReflect.Descriptor instead.
func (*MsgClaimHTLC) GetId ¶
func (x *MsgClaimHTLC) GetId() string
func (*MsgClaimHTLC) GetSecret ¶
func (x *MsgClaimHTLC) GetSecret() string
func (*MsgClaimHTLC) GetSender ¶
func (x *MsgClaimHTLC) GetSender() string
func (*MsgClaimHTLC) ProtoMessage ¶
func (*MsgClaimHTLC) ProtoMessage()
func (*MsgClaimHTLC) ProtoReflect ¶
func (x *MsgClaimHTLC) ProtoReflect() protoreflect.Message
func (*MsgClaimHTLC) Reset ¶
func (x *MsgClaimHTLC) Reset()
func (*MsgClaimHTLC) String ¶
func (x *MsgClaimHTLC) String() string
type MsgClaimHTLCResponse ¶
type MsgClaimHTLCResponse struct {
// contains filtered or unexported fields
}
MsgClaimHTLCResponse defines the Msg/ClaimHTLC response type
func (*MsgClaimHTLCResponse) Descriptor
deprecated
func (*MsgClaimHTLCResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgClaimHTLCResponse.ProtoReflect.Descriptor instead.
func (*MsgClaimHTLCResponse) ProtoMessage ¶
func (*MsgClaimHTLCResponse) ProtoMessage()
func (*MsgClaimHTLCResponse) ProtoReflect ¶
func (x *MsgClaimHTLCResponse) ProtoReflect() protoreflect.Message
func (*MsgClaimHTLCResponse) Reset ¶
func (x *MsgClaimHTLCResponse) Reset()
func (*MsgClaimHTLCResponse) String ¶
func (x *MsgClaimHTLCResponse) String() string
type MsgClient ¶
type MsgClient interface { // CreateHTLC defines a method for creating a HTLC CreateHTLC(ctx context.Context, in *MsgCreateHTLC, opts ...grpc.CallOption) (*MsgCreateHTLCResponse, error) // ClaimHTLC defines a method for claiming a HTLC ClaimHTLC(ctx context.Context, in *MsgClaimHTLC, opts ...grpc.CallOption) (*MsgClaimHTLCResponse, error) // UpdateParams defines a governance operation for updating the x/htlc // module parameters. The authority is defined in the keeper. // // Since: cosmos-sdk 0.47 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCreateHTLC ¶
type MsgCreateHTLC struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` ReceiverOnOtherChain string `protobuf:"bytes,3,opt,name=receiver_on_other_chain,json=receiverOnOtherChain,proto3" json:"receiver_on_other_chain,omitempty"` SenderOnOtherChain string `protobuf:"bytes,4,opt,name=sender_on_other_chain,json=senderOnOtherChain,proto3" json:"sender_on_other_chain,omitempty"` Amount []*v1beta1.Coin `protobuf:"bytes,5,rep,name=amount,proto3" json:"amount,omitempty"` HashLock string `protobuf:"bytes,6,opt,name=hash_lock,json=hashLock,proto3" json:"hash_lock,omitempty"` Timestamp uint64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` TimeLock uint64 `protobuf:"varint,8,opt,name=time_lock,json=timeLock,proto3" json:"time_lock,omitempty"` Transfer bool `protobuf:"varint,9,opt,name=transfer,proto3" json:"transfer,omitempty"` // contains filtered or unexported fields }
MsgCreateHTLC defines a message to create an HTLC
func (*MsgCreateHTLC) Descriptor
deprecated
func (*MsgCreateHTLC) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateHTLC.ProtoReflect.Descriptor instead.
func (*MsgCreateHTLC) GetAmount ¶
func (x *MsgCreateHTLC) GetAmount() []*v1beta1.Coin
func (*MsgCreateHTLC) GetHashLock ¶
func (x *MsgCreateHTLC) GetHashLock() string
func (*MsgCreateHTLC) GetReceiverOnOtherChain ¶
func (x *MsgCreateHTLC) GetReceiverOnOtherChain() string
func (*MsgCreateHTLC) GetSender ¶
func (x *MsgCreateHTLC) GetSender() string
func (*MsgCreateHTLC) GetSenderOnOtherChain ¶
func (x *MsgCreateHTLC) GetSenderOnOtherChain() string
func (*MsgCreateHTLC) GetTimeLock ¶
func (x *MsgCreateHTLC) GetTimeLock() uint64
func (*MsgCreateHTLC) GetTimestamp ¶
func (x *MsgCreateHTLC) GetTimestamp() uint64
func (*MsgCreateHTLC) GetTo ¶
func (x *MsgCreateHTLC) GetTo() string
func (*MsgCreateHTLC) GetTransfer ¶
func (x *MsgCreateHTLC) GetTransfer() bool
func (*MsgCreateHTLC) ProtoMessage ¶
func (*MsgCreateHTLC) ProtoMessage()
func (*MsgCreateHTLC) ProtoReflect ¶
func (x *MsgCreateHTLC) ProtoReflect() protoreflect.Message
func (*MsgCreateHTLC) Reset ¶
func (x *MsgCreateHTLC) Reset()
func (*MsgCreateHTLC) String ¶
func (x *MsgCreateHTLC) String() string
type MsgCreateHTLCResponse ¶
type MsgCreateHTLCResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
MsgCreateHTLCResponse defines the Msg/CreateHTLC response type
func (*MsgCreateHTLCResponse) Descriptor
deprecated
func (*MsgCreateHTLCResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateHTLCResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateHTLCResponse) GetId ¶
func (x *MsgCreateHTLCResponse) GetId() string
func (*MsgCreateHTLCResponse) ProtoMessage ¶
func (*MsgCreateHTLCResponse) ProtoMessage()
func (*MsgCreateHTLCResponse) ProtoReflect ¶
func (x *MsgCreateHTLCResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateHTLCResponse) Reset ¶
func (x *MsgCreateHTLCResponse) Reset()
func (*MsgCreateHTLCResponse) String ¶
func (x *MsgCreateHTLCResponse) String() string
type MsgServer ¶
type MsgServer interface { // CreateHTLC defines a method for creating a HTLC CreateHTLC(context.Context, *MsgCreateHTLC) (*MsgCreateHTLCResponse, error) // ClaimHTLC defines a method for claiming a HTLC ClaimHTLC(context.Context, *MsgClaimHTLC) (*MsgClaimHTLCResponse, error) // UpdateParams defines a governance operation for updating the x/htlc // module parameters. The authority is defined in the keeper. // // Since: cosmos-sdk 0.47 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/coinswap parameters to update. // // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct { AssetParams []*AssetParam `protobuf:"bytes,1,rep,name=asset_params,json=assetParams,proto3" json:"asset_params,omitempty"` // contains filtered or unexported fields }
Params defines token module's parameters
func (*Params) GetAssetParams ¶
func (x *Params) GetAssetParams() []*AssetParam
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type QueryAssetSuppliesRequest ¶
type QueryAssetSuppliesRequest struct {
// contains filtered or unexported fields
}
QueryAssetSuppliesRequest is request type for the Query/AssetSupplies RPC method
func (*QueryAssetSuppliesRequest) Descriptor
deprecated
func (*QueryAssetSuppliesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAssetSuppliesRequest.ProtoReflect.Descriptor instead.
func (*QueryAssetSuppliesRequest) ProtoMessage ¶
func (*QueryAssetSuppliesRequest) ProtoMessage()
func (*QueryAssetSuppliesRequest) ProtoReflect ¶
func (x *QueryAssetSuppliesRequest) ProtoReflect() protoreflect.Message
func (*QueryAssetSuppliesRequest) Reset ¶
func (x *QueryAssetSuppliesRequest) Reset()
func (*QueryAssetSuppliesRequest) String ¶
func (x *QueryAssetSuppliesRequest) String() string
type QueryAssetSuppliesResponse ¶
type QueryAssetSuppliesResponse struct { AssetSupplies []*AssetSupply `protobuf:"bytes,1,rep,name=asset_supplies,json=assetSupplies,proto3" json:"asset_supplies,omitempty"` // contains filtered or unexported fields }
QueryAssetSuppliesResponse is response type for the Query/AssetSupplies RPC method
func (*QueryAssetSuppliesResponse) Descriptor
deprecated
func (*QueryAssetSuppliesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAssetSuppliesResponse.ProtoReflect.Descriptor instead.
func (*QueryAssetSuppliesResponse) GetAssetSupplies ¶
func (x *QueryAssetSuppliesResponse) GetAssetSupplies() []*AssetSupply
func (*QueryAssetSuppliesResponse) ProtoMessage ¶
func (*QueryAssetSuppliesResponse) ProtoMessage()
func (*QueryAssetSuppliesResponse) ProtoReflect ¶
func (x *QueryAssetSuppliesResponse) ProtoReflect() protoreflect.Message
func (*QueryAssetSuppliesResponse) Reset ¶
func (x *QueryAssetSuppliesResponse) Reset()
func (*QueryAssetSuppliesResponse) String ¶
func (x *QueryAssetSuppliesResponse) String() string
type QueryAssetSupplyRequest ¶
type QueryAssetSupplyRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // contains filtered or unexported fields }
QueryAssetSupplyRequest is request type for the Query/AssetSupply RPC method
func (*QueryAssetSupplyRequest) Descriptor
deprecated
func (*QueryAssetSupplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAssetSupplyRequest.ProtoReflect.Descriptor instead.
func (*QueryAssetSupplyRequest) GetDenom ¶
func (x *QueryAssetSupplyRequest) GetDenom() string
func (*QueryAssetSupplyRequest) ProtoMessage ¶
func (*QueryAssetSupplyRequest) ProtoMessage()
func (*QueryAssetSupplyRequest) ProtoReflect ¶
func (x *QueryAssetSupplyRequest) ProtoReflect() protoreflect.Message
func (*QueryAssetSupplyRequest) Reset ¶
func (x *QueryAssetSupplyRequest) Reset()
func (*QueryAssetSupplyRequest) String ¶
func (x *QueryAssetSupplyRequest) String() string
type QueryAssetSupplyResponse ¶
type QueryAssetSupplyResponse struct { AssetSupply *AssetSupply `protobuf:"bytes,1,opt,name=asset_supply,json=assetSupply,proto3" json:"asset_supply,omitempty"` // contains filtered or unexported fields }
QueryAssetSupplyResponse is response type for the Query/AssetSupply RPC method
func (*QueryAssetSupplyResponse) Descriptor
deprecated
func (*QueryAssetSupplyResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAssetSupplyResponse.ProtoReflect.Descriptor instead.
func (*QueryAssetSupplyResponse) GetAssetSupply ¶
func (x *QueryAssetSupplyResponse) GetAssetSupply() *AssetSupply
func (*QueryAssetSupplyResponse) ProtoMessage ¶
func (*QueryAssetSupplyResponse) ProtoMessage()
func (*QueryAssetSupplyResponse) ProtoReflect ¶
func (x *QueryAssetSupplyResponse) ProtoReflect() protoreflect.Message
func (*QueryAssetSupplyResponse) Reset ¶
func (x *QueryAssetSupplyResponse) Reset()
func (*QueryAssetSupplyResponse) String ¶
func (x *QueryAssetSupplyResponse) String() string
type QueryClient ¶
type QueryClient interface { // HTLC queries the HTLC by the specified hash lock HTLC(ctx context.Context, in *QueryHTLCRequest, opts ...grpc.CallOption) (*QueryHTLCResponse, error) // AssetSupply queries the supply of an asset AssetSupply(ctx context.Context, in *QueryAssetSupplyRequest, opts ...grpc.CallOption) (*QueryAssetSupplyResponse, error) // AssetSupplies queries the supplies of all assets AssetSupplies(ctx context.Context, in *QueryAssetSuppliesRequest, opts ...grpc.CallOption) (*QueryAssetSuppliesResponse, error) // Params queries the htlc parameters Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryHTLCRequest ¶
type QueryHTLCRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
QueryHTLCRequest is the request type for the Query/HTLC RPC method
func (*QueryHTLCRequest) Descriptor
deprecated
func (*QueryHTLCRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryHTLCRequest.ProtoReflect.Descriptor instead.
func (*QueryHTLCRequest) GetId ¶
func (x *QueryHTLCRequest) GetId() string
func (*QueryHTLCRequest) ProtoMessage ¶
func (*QueryHTLCRequest) ProtoMessage()
func (*QueryHTLCRequest) ProtoReflect ¶
func (x *QueryHTLCRequest) ProtoReflect() protoreflect.Message
func (*QueryHTLCRequest) Reset ¶
func (x *QueryHTLCRequest) Reset()
func (*QueryHTLCRequest) String ¶
func (x *QueryHTLCRequest) String() string
type QueryHTLCResponse ¶
type QueryHTLCResponse struct { Htlc *HTLC `protobuf:"bytes,1,opt,name=htlc,proto3" json:"htlc,omitempty"` // contains filtered or unexported fields }
QueryBalanceResponse is the response type for the Query/HTLC RPC method
func (*QueryHTLCResponse) Descriptor
deprecated
func (*QueryHTLCResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryHTLCResponse.ProtoReflect.Descriptor instead.
func (*QueryHTLCResponse) GetHtlc ¶
func (x *QueryHTLCResponse) GetHtlc() *HTLC
func (*QueryHTLCResponse) ProtoMessage ¶
func (*QueryHTLCResponse) ProtoMessage()
func (*QueryHTLCResponse) ProtoReflect ¶
func (x *QueryHTLCResponse) ProtoReflect() protoreflect.Message
func (*QueryHTLCResponse) Reset ¶
func (x *QueryHTLCResponse) Reset()
func (*QueryHTLCResponse) String ¶
func (x *QueryHTLCResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is request type for the Query/Parameters RPC method
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is response type for the Query/Parameters RPC method
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryServer ¶
type QueryServer interface { // HTLC queries the HTLC by the specified hash lock HTLC(context.Context, *QueryHTLCRequest) (*QueryHTLCResponse, error) // AssetSupply queries the supply of an asset AssetSupply(context.Context, *QueryAssetSupplyRequest) (*QueryAssetSupplyResponse, error) // AssetSupplies queries the supplies of all assets AssetSupplies(context.Context, *QueryAssetSuppliesRequest) (*QueryAssetSuppliesResponse, error) // Params queries the htlc parameters Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type SupplyLimit ¶
type SupplyLimit struct { Limit string `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` // the absolute supply limit for an asset TimeLimited bool `protobuf:"varint,2,opt,name=time_limited,json=timeLimited,proto3" json:"time_limited,omitempty"` // boolean for if the supply is also limited by time TimePeriod *durationpb.Duration `protobuf:"bytes,3,opt,name=time_period,json=timePeriod,proto3" json:"time_period,omitempty"` // the duration for which the supply time limit applies TimeBasedLimit string `protobuf:"bytes,4,opt,name=time_based_limit,json=timeBasedLimit,proto3" json:"time_based_limit,omitempty"` // the supply limit for an asset for each time period // contains filtered or unexported fields }
SupplyLimit defines the struct of an SupplyLimit
func (*SupplyLimit) Descriptor
deprecated
func (*SupplyLimit) Descriptor() ([]byte, []int)
Deprecated: Use SupplyLimit.ProtoReflect.Descriptor instead.
func (*SupplyLimit) GetLimit ¶
func (x *SupplyLimit) GetLimit() string
func (*SupplyLimit) GetTimeBasedLimit ¶
func (x *SupplyLimit) GetTimeBasedLimit() string
func (*SupplyLimit) GetTimeLimited ¶
func (x *SupplyLimit) GetTimeLimited() bool
func (*SupplyLimit) GetTimePeriod ¶
func (x *SupplyLimit) GetTimePeriod() *durationpb.Duration
func (*SupplyLimit) ProtoMessage ¶
func (*SupplyLimit) ProtoMessage()
func (*SupplyLimit) ProtoReflect ¶
func (x *SupplyLimit) ProtoReflect() protoreflect.Message
func (*SupplyLimit) Reset ¶
func (x *SupplyLimit) Reset()
func (*SupplyLimit) String ¶
func (x *SupplyLimit) String() string
type SwapDirection ¶
type SwapDirection int32
SwapDirection defines the direction of an HTLT
const ( // NONE defines an htlt none direction. SwapDirection_NONE SwapDirection = 0 // INCOMING defines an htlt incoming direction. SwapDirection_INCOMING SwapDirection = 1 // OUTGOING defines an htlt outgoing direction. SwapDirection_OUTGOING SwapDirection = 2 )
func (SwapDirection) Descriptor ¶
func (SwapDirection) Descriptor() protoreflect.EnumDescriptor
func (SwapDirection) Enum ¶
func (x SwapDirection) Enum() *SwapDirection
func (SwapDirection) EnumDescriptor
deprecated
func (SwapDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use SwapDirection.Descriptor instead.
func (SwapDirection) Number ¶
func (x SwapDirection) Number() protoreflect.EnumNumber
func (SwapDirection) String ¶
func (x SwapDirection) String() string
func (SwapDirection) Type ¶
func (SwapDirection) Type() protoreflect.EnumType
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) ClaimHTLC ¶
func (UnimplementedMsgServer) ClaimHTLC(context.Context, *MsgClaimHTLC) (*MsgClaimHTLCResponse, error)
func (UnimplementedMsgServer) CreateHTLC ¶
func (UnimplementedMsgServer) CreateHTLC(context.Context, *MsgCreateHTLC) (*MsgCreateHTLCResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) AssetSupplies ¶
func (UnimplementedQueryServer) AssetSupplies(context.Context, *QueryAssetSuppliesRequest) (*QueryAssetSuppliesResponse, error)
func (UnimplementedQueryServer) AssetSupply ¶
func (UnimplementedQueryServer) AssetSupply(context.Context, *QueryAssetSupplyRequest) (*QueryAssetSupplyResponse, error)
func (UnimplementedQueryServer) HTLC ¶
func (UnimplementedQueryServer) HTLC(context.Context, *QueryHTLCRequest) (*QueryHTLCResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, 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.