types

package
v0.0.1-sdk47-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const ModuleName = "authority"

Variables

View Source
var (
	Amino     = codec.NewLegacyAmino()
	ModuleCdc = codec.NewAminoCodec(Amino)
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AuthorityKey = []byte("authority")

Functions

func RegisterInterfaces

func RegisterInterfaces(registry codecTypes.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type GenesisState

type GenesisState struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
}

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState creates a default GenesisState object.

func NewGenesisState

func NewGenesisState(authority string) *GenesisState

NewGenesisState creates a new GenesisState object.

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetAuthority

func (m *GenesisState) GetAuthority() string

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (*GenesisState) Validate

func (gs *GenesisState) Validate() error

Validate validates the provided genesis state.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	Execute(ctx context.Context, in *MsgExecute, opts ...grpc.CallOption) (*MsgExecuteResponse, error)
	ExecuteLegacyContent(ctx context.Context, in *MsgExecuteLegacyContent, opts ...grpc.CallOption) (*MsgExecuteLegacyContentResponse, error)
	UpdateAuthority(ctx context.Context, in *MsgUpdateAuthority, opts ...grpc.CallOption) (*MsgUpdateAuthorityResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgExecute

type MsgExecute struct {
	Authority string       `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Messages  []*types.Any `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
}

MsgExecute is the Msg/Execute request type.

func (*MsgExecute) Descriptor

func (*MsgExecute) Descriptor() ([]byte, []int)

func (*MsgExecute) GetAuthority

func (m *MsgExecute) GetAuthority() string

func (*MsgExecute) GetMessages

func (m *MsgExecute) GetMessages() []*types.Any

func (*MsgExecute) GetMsgs

func (m *MsgExecute) GetMsgs() ([]sdk.Msg, error)

func (*MsgExecute) GetSignBytes

func (m *MsgExecute) GetSignBytes() []byte

func (*MsgExecute) GetSigners

func (m *MsgExecute) GetSigners() []sdk.AccAddress

func (*MsgExecute) Marshal

func (m *MsgExecute) Marshal() (dAtA []byte, err error)

func (*MsgExecute) MarshalTo

func (m *MsgExecute) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecute) MarshalToSizedBuffer

func (m *MsgExecute) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecute) ProtoMessage

func (*MsgExecute) ProtoMessage()

func (*MsgExecute) Reset

func (m *MsgExecute) Reset()

func (*MsgExecute) Route

func (m *MsgExecute) Route() string

func (*MsgExecute) Size

func (m *MsgExecute) Size() (n int)

func (*MsgExecute) String

func (m *MsgExecute) String() string

func (*MsgExecute) Type

func (m *MsgExecute) Type() string

func (*MsgExecute) Unmarshal

func (m *MsgExecute) Unmarshal(dAtA []byte) error

func (*MsgExecute) UnpackInterfaces

func (m *MsgExecute) UnpackInterfaces(unpacker codecTypes.AnyUnpacker) error

func (*MsgExecute) ValidateBasic

func (m *MsgExecute) ValidateBasic() error

func (*MsgExecute) XXX_DiscardUnknown

func (m *MsgExecute) XXX_DiscardUnknown()

func (*MsgExecute) XXX_Marshal

func (m *MsgExecute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecute) XXX_Merge

func (m *MsgExecute) XXX_Merge(src proto.Message)

func (*MsgExecute) XXX_Size

func (m *MsgExecute) XXX_Size() int

func (*MsgExecute) XXX_Unmarshal

func (m *MsgExecute) XXX_Unmarshal(b []byte) error

type MsgExecuteLegacyContent

type MsgExecuteLegacyContent struct {
	Authority string     `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Content   *types.Any `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
}

MsgExecuteLegacyContent is the Msg/ExecuteLegacyContent request type.

func (*MsgExecuteLegacyContent) Descriptor

func (*MsgExecuteLegacyContent) Descriptor() ([]byte, []int)

func (*MsgExecuteLegacyContent) GetAuthority

func (m *MsgExecuteLegacyContent) GetAuthority() string

func (*MsgExecuteLegacyContent) GetContent

func (m *MsgExecuteLegacyContent) GetContent() *types.Any

func (*MsgExecuteLegacyContent) GetSigners

func (m *MsgExecuteLegacyContent) GetSigners() []sdk.AccAddress

func (*MsgExecuteLegacyContent) Marshal

func (m *MsgExecuteLegacyContent) Marshal() (dAtA []byte, err error)

func (*MsgExecuteLegacyContent) MarshalTo

func (m *MsgExecuteLegacyContent) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecuteLegacyContent) MarshalToSizedBuffer

func (m *MsgExecuteLegacyContent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecuteLegacyContent) ProtoMessage

func (*MsgExecuteLegacyContent) ProtoMessage()

func (*MsgExecuteLegacyContent) Reset

func (m *MsgExecuteLegacyContent) Reset()

func (*MsgExecuteLegacyContent) Size

func (m *MsgExecuteLegacyContent) Size() (n int)

func (*MsgExecuteLegacyContent) String

func (m *MsgExecuteLegacyContent) String() string

func (*MsgExecuteLegacyContent) Unmarshal

func (m *MsgExecuteLegacyContent) Unmarshal(dAtA []byte) error

func (*MsgExecuteLegacyContent) UnpackInterfaces

func (m *MsgExecuteLegacyContent) UnpackInterfaces(unpacker codecTypes.AnyUnpacker) error

func (*MsgExecuteLegacyContent) ValidateBasic

func (m *MsgExecuteLegacyContent) ValidateBasic() error

func (*MsgExecuteLegacyContent) XXX_DiscardUnknown

func (m *MsgExecuteLegacyContent) XXX_DiscardUnknown()

func (*MsgExecuteLegacyContent) XXX_Marshal

func (m *MsgExecuteLegacyContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecuteLegacyContent) XXX_Merge

func (m *MsgExecuteLegacyContent) XXX_Merge(src proto.Message)

func (*MsgExecuteLegacyContent) XXX_Size

func (m *MsgExecuteLegacyContent) XXX_Size() int

func (*MsgExecuteLegacyContent) XXX_Unmarshal

func (m *MsgExecuteLegacyContent) XXX_Unmarshal(b []byte) error

type MsgExecuteLegacyContentResponse

type MsgExecuteLegacyContentResponse struct {
}

MsgExecuteLegacyContentResponse is the Msg/ExecuteLegacyContent response type.

func (*MsgExecuteLegacyContentResponse) Descriptor

func (*MsgExecuteLegacyContentResponse) Descriptor() ([]byte, []int)

func (*MsgExecuteLegacyContentResponse) Marshal

func (m *MsgExecuteLegacyContentResponse) Marshal() (dAtA []byte, err error)

func (*MsgExecuteLegacyContentResponse) MarshalTo

func (m *MsgExecuteLegacyContentResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecuteLegacyContentResponse) MarshalToSizedBuffer

func (m *MsgExecuteLegacyContentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecuteLegacyContentResponse) ProtoMessage

func (*MsgExecuteLegacyContentResponse) ProtoMessage()

func (*MsgExecuteLegacyContentResponse) Reset

func (*MsgExecuteLegacyContentResponse) Size

func (m *MsgExecuteLegacyContentResponse) Size() (n int)

func (*MsgExecuteLegacyContentResponse) String

func (*MsgExecuteLegacyContentResponse) Unmarshal

func (m *MsgExecuteLegacyContentResponse) Unmarshal(dAtA []byte) error

func (*MsgExecuteLegacyContentResponse) XXX_DiscardUnknown

func (m *MsgExecuteLegacyContentResponse) XXX_DiscardUnknown()

func (*MsgExecuteLegacyContentResponse) XXX_Marshal

func (m *MsgExecuteLegacyContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecuteLegacyContentResponse) XXX_Merge

func (m *MsgExecuteLegacyContentResponse) XXX_Merge(src proto.Message)

func (*MsgExecuteLegacyContentResponse) XXX_Size

func (m *MsgExecuteLegacyContentResponse) XXX_Size() int

func (*MsgExecuteLegacyContentResponse) XXX_Unmarshal

func (m *MsgExecuteLegacyContentResponse) XXX_Unmarshal(b []byte) error

type MsgExecuteResponse

type MsgExecuteResponse struct {
}

MsgExecuteResponse is the Msg/Execute response type.

func (*MsgExecuteResponse) Descriptor

func (*MsgExecuteResponse) Descriptor() ([]byte, []int)

func (*MsgExecuteResponse) Marshal

func (m *MsgExecuteResponse) Marshal() (dAtA []byte, err error)

func (*MsgExecuteResponse) MarshalTo

func (m *MsgExecuteResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecuteResponse) MarshalToSizedBuffer

func (m *MsgExecuteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecuteResponse) ProtoMessage

func (*MsgExecuteResponse) ProtoMessage()

func (*MsgExecuteResponse) Reset

func (m *MsgExecuteResponse) Reset()

func (*MsgExecuteResponse) Size

func (m *MsgExecuteResponse) Size() (n int)

func (*MsgExecuteResponse) String

func (m *MsgExecuteResponse) String() string

func (*MsgExecuteResponse) Unmarshal

func (m *MsgExecuteResponse) Unmarshal(dAtA []byte) error

func (*MsgExecuteResponse) XXX_DiscardUnknown

func (m *MsgExecuteResponse) XXX_DiscardUnknown()

func (*MsgExecuteResponse) XXX_Marshal

func (m *MsgExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecuteResponse) XXX_Merge

func (m *MsgExecuteResponse) XXX_Merge(src proto.Message)

func (*MsgExecuteResponse) XXX_Size

func (m *MsgExecuteResponse) XXX_Size() int

func (*MsgExecuteResponse) XXX_Unmarshal

func (m *MsgExecuteResponse) XXX_Unmarshal(b []byte) error

type MsgServer

MsgServer is the server API for Msg service.

type MsgUpdateAuthority

type MsgUpdateAuthority struct {
	Authority    string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	NewAuthority string `protobuf:"bytes,2,opt,name=new_authority,json=newAuthority,proto3" json:"new_authority,omitempty"`
}

MsgUpdateAuthority is the Msg/UpdateAuthority request type.

func (*MsgUpdateAuthority) Descriptor

func (*MsgUpdateAuthority) Descriptor() ([]byte, []int)

func (*MsgUpdateAuthority) GetAuthority

func (m *MsgUpdateAuthority) GetAuthority() string

func (*MsgUpdateAuthority) GetNewAuthority

func (m *MsgUpdateAuthority) GetNewAuthority() string

func (*MsgUpdateAuthority) GetSignBytes

func (m *MsgUpdateAuthority) GetSignBytes() []byte

func (*MsgUpdateAuthority) GetSigners

func (m *MsgUpdateAuthority) GetSigners() []sdk.AccAddress

func (*MsgUpdateAuthority) Marshal

func (m *MsgUpdateAuthority) Marshal() (dAtA []byte, err error)

func (*MsgUpdateAuthority) MarshalTo

func (m *MsgUpdateAuthority) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateAuthority) MarshalToSizedBuffer

func (m *MsgUpdateAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateAuthority) ProtoMessage

func (*MsgUpdateAuthority) ProtoMessage()

func (*MsgUpdateAuthority) Reset

func (m *MsgUpdateAuthority) Reset()

func (*MsgUpdateAuthority) Route

func (m *MsgUpdateAuthority) Route() string

func (*MsgUpdateAuthority) Size

func (m *MsgUpdateAuthority) Size() (n int)

func (*MsgUpdateAuthority) String

func (m *MsgUpdateAuthority) String() string

func (*MsgUpdateAuthority) Type

func (m *MsgUpdateAuthority) Type() string

func (*MsgUpdateAuthority) Unmarshal

func (m *MsgUpdateAuthority) Unmarshal(dAtA []byte) error

func (*MsgUpdateAuthority) ValidateBasic

func (m *MsgUpdateAuthority) ValidateBasic() error

func (*MsgUpdateAuthority) XXX_DiscardUnknown

func (m *MsgUpdateAuthority) XXX_DiscardUnknown()

func (*MsgUpdateAuthority) XXX_Marshal

func (m *MsgUpdateAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateAuthority) XXX_Merge

func (m *MsgUpdateAuthority) XXX_Merge(src proto.Message)

func (*MsgUpdateAuthority) XXX_Size

func (m *MsgUpdateAuthority) XXX_Size() int

func (*MsgUpdateAuthority) XXX_Unmarshal

func (m *MsgUpdateAuthority) XXX_Unmarshal(b []byte) error

type MsgUpdateAuthorityResponse

type MsgUpdateAuthorityResponse struct {
}

MsgUpdateAuthorityResponse is the Msg/UpdateAuthority response type.

func (*MsgUpdateAuthorityResponse) Descriptor

func (*MsgUpdateAuthorityResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateAuthorityResponse) Marshal

func (m *MsgUpdateAuthorityResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateAuthorityResponse) MarshalTo

func (m *MsgUpdateAuthorityResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateAuthorityResponse) MarshalToSizedBuffer

func (m *MsgUpdateAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateAuthorityResponse) ProtoMessage

func (*MsgUpdateAuthorityResponse) ProtoMessage()

func (*MsgUpdateAuthorityResponse) Reset

func (m *MsgUpdateAuthorityResponse) Reset()

func (*MsgUpdateAuthorityResponse) Size

func (m *MsgUpdateAuthorityResponse) Size() (n int)

func (*MsgUpdateAuthorityResponse) String

func (m *MsgUpdateAuthorityResponse) String() string

func (*MsgUpdateAuthorityResponse) Unmarshal

func (m *MsgUpdateAuthorityResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateAuthorityResponse) XXX_DiscardUnknown

func (m *MsgUpdateAuthorityResponse) XXX_DiscardUnknown()

func (*MsgUpdateAuthorityResponse) XXX_Marshal

func (m *MsgUpdateAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateAuthorityResponse) XXX_Merge

func (m *MsgUpdateAuthorityResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateAuthorityResponse) XXX_Size

func (m *MsgUpdateAuthorityResponse) XXX_Size() int

func (*MsgUpdateAuthorityResponse) XXX_Unmarshal

func (m *MsgUpdateAuthorityResponse) XXX_Unmarshal(b []byte) error

type QueryAuthority

type QueryAuthority struct {
}

QueryAuthority is the Query/Authority request type.

func (*QueryAuthority) Descriptor

func (*QueryAuthority) Descriptor() ([]byte, []int)

func (*QueryAuthority) Marshal

func (m *QueryAuthority) Marshal() (dAtA []byte, err error)

func (*QueryAuthority) MarshalTo

func (m *QueryAuthority) MarshalTo(dAtA []byte) (int, error)

func (*QueryAuthority) MarshalToSizedBuffer

func (m *QueryAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAuthority) ProtoMessage

func (*QueryAuthority) ProtoMessage()

func (*QueryAuthority) Reset

func (m *QueryAuthority) Reset()

func (*QueryAuthority) Size

func (m *QueryAuthority) Size() (n int)

func (*QueryAuthority) String

func (m *QueryAuthority) String() string

func (*QueryAuthority) Unmarshal

func (m *QueryAuthority) Unmarshal(dAtA []byte) error

func (*QueryAuthority) XXX_DiscardUnknown

func (m *QueryAuthority) XXX_DiscardUnknown()

func (*QueryAuthority) XXX_Marshal

func (m *QueryAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAuthority) XXX_Merge

func (m *QueryAuthority) XXX_Merge(src proto.Message)

func (*QueryAuthority) XXX_Size

func (m *QueryAuthority) XXX_Size() int

func (*QueryAuthority) XXX_Unmarshal

func (m *QueryAuthority) XXX_Unmarshal(b []byte) error

type QueryAuthorityResponse

type QueryAuthorityResponse struct {
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
}

QueryAuthorityResponse is the Query/Authority response type.

func (*QueryAuthorityResponse) Descriptor

func (*QueryAuthorityResponse) Descriptor() ([]byte, []int)

func (*QueryAuthorityResponse) GetAuthority

func (m *QueryAuthorityResponse) GetAuthority() string

func (*QueryAuthorityResponse) Marshal

func (m *QueryAuthorityResponse) Marshal() (dAtA []byte, err error)

func (*QueryAuthorityResponse) MarshalTo

func (m *QueryAuthorityResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAuthorityResponse) MarshalToSizedBuffer

func (m *QueryAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAuthorityResponse) ProtoMessage

func (*QueryAuthorityResponse) ProtoMessage()

func (*QueryAuthorityResponse) Reset

func (m *QueryAuthorityResponse) Reset()

func (*QueryAuthorityResponse) Size

func (m *QueryAuthorityResponse) Size() (n int)

func (*QueryAuthorityResponse) String

func (m *QueryAuthorityResponse) String() string

func (*QueryAuthorityResponse) Unmarshal

func (m *QueryAuthorityResponse) Unmarshal(dAtA []byte) error

func (*QueryAuthorityResponse) XXX_DiscardUnknown

func (m *QueryAuthorityResponse) XXX_DiscardUnknown()

func (*QueryAuthorityResponse) XXX_Marshal

func (m *QueryAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAuthorityResponse) XXX_Merge

func (m *QueryAuthorityResponse) XXX_Merge(src proto.Message)

func (*QueryAuthorityResponse) XXX_Size

func (m *QueryAuthorityResponse) XXX_Size() int

func (*QueryAuthorityResponse) XXX_Unmarshal

func (m *QueryAuthorityResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	Authority(ctx context.Context, in *QueryAuthority, opts ...grpc.CallOption) (*QueryAuthorityResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryServer

type QueryServer interface {
	Authority(context.Context, *QueryAuthority) (*QueryAuthorityResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) Execute

func (*UnimplementedMsgServer) ExecuteLegacyContent

func (*UnimplementedMsgServer) UpdateAuthority

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Authority

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL