v2

package
v0.45.5 Latest Latest
Warning

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

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

Documentation

Overview

Package v2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthReflection        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReflection          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupReflection = fmt.Errorf("proto: unexpected end of group")
)

Functions

func Register

func Register(srv *grpc.Server, conf Config) error

Register registers the cosmos sdk reflection service to the provided *grpc.Server given a Config

func RegisterReflectionServiceHandler

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

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

func RegisterReflectionServiceHandlerClient

func RegisterReflectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReflectionServiceClient) error

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

func RegisterReflectionServiceHandlerFromEndpoint

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

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

func RegisterReflectionServiceHandlerServer

func RegisterReflectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ReflectionServiceServer) error

RegisterReflectionServiceHandlerServer registers the http handlers for service ReflectionService to "mux". UnaryRPC :call ReflectionServiceServer 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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterReflectionServiceHandlerFromEndpoint instead.

func RegisterReflectionServiceServer

func RegisterReflectionServiceServer(s grpc1.Server, srv ReflectionServiceServer)

Types

type AppDescriptor

type AppDescriptor struct {
	// AuthnDescriptor provides information on how to authenticate transactions on the application
	// NOTE: experimental and subject to change in future releases.
	Authn *AuthnDescriptor `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	// chain provides the chain descriptor
	Chain *ChainDescriptor `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// codec provides metadata information regarding codec related types
	Codec *CodecDescriptor `protobuf:"bytes,3,opt,name=codec,proto3" json:"codec,omitempty"`
	// configuration provides metadata information regarding the sdk.Config type
	Configuration *ConfigurationDescriptor `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// query_services provides metadata information regarding the available queriable endpoints
	QueryServices *QueryServicesDescriptor `protobuf:"bytes,5,opt,name=query_services,json=queryServices,proto3" json:"query_services,omitempty"`
	// tx provides metadata information regarding how to send transactions to the given application
	Tx *TxDescriptor `protobuf:"bytes,6,opt,name=tx,proto3" json:"tx,omitempty"`
}

AppDescriptor describes a cosmos-sdk based application

func (*AppDescriptor) Descriptor

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

func (*AppDescriptor) GetAuthn

func (m *AppDescriptor) GetAuthn() *AuthnDescriptor

func (*AppDescriptor) GetChain

func (m *AppDescriptor) GetChain() *ChainDescriptor

func (*AppDescriptor) GetCodec

func (m *AppDescriptor) GetCodec() *CodecDescriptor

func (*AppDescriptor) GetConfiguration

func (m *AppDescriptor) GetConfiguration() *ConfigurationDescriptor

func (*AppDescriptor) GetQueryServices

func (m *AppDescriptor) GetQueryServices() *QueryServicesDescriptor

func (*AppDescriptor) GetTx

func (m *AppDescriptor) GetTx() *TxDescriptor

func (*AppDescriptor) Marshal

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

func (*AppDescriptor) MarshalTo

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

func (*AppDescriptor) MarshalToSizedBuffer

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

func (*AppDescriptor) ProtoMessage

func (*AppDescriptor) ProtoMessage()

func (*AppDescriptor) Reset

func (m *AppDescriptor) Reset()

func (*AppDescriptor) Size

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

func (*AppDescriptor) String

func (m *AppDescriptor) String() string

func (*AppDescriptor) Unmarshal

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

func (*AppDescriptor) XXX_DiscardUnknown

func (m *AppDescriptor) XXX_DiscardUnknown()

func (*AppDescriptor) XXX_Marshal

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

func (*AppDescriptor) XXX_Merge

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

func (*AppDescriptor) XXX_Size

func (m *AppDescriptor) XXX_Size() int

func (*AppDescriptor) XXX_Unmarshal

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

type AuthnDescriptor

type AuthnDescriptor struct {
	// sign_modes defines the supported signature algorithm
	SignModes []*SigningModeDescriptor `protobuf:"bytes,1,rep,name=sign_modes,json=signModes,proto3" json:"sign_modes,omitempty"`
}

AuthnDescriptor provides information on how to sign transactions without relying on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures

func (*AuthnDescriptor) Descriptor

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

func (*AuthnDescriptor) GetSignModes

func (m *AuthnDescriptor) GetSignModes() []*SigningModeDescriptor

func (*AuthnDescriptor) Marshal

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

func (*AuthnDescriptor) MarshalTo

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

func (*AuthnDescriptor) MarshalToSizedBuffer

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

func (*AuthnDescriptor) ProtoMessage

func (*AuthnDescriptor) ProtoMessage()

func (*AuthnDescriptor) Reset

func (m *AuthnDescriptor) Reset()

func (*AuthnDescriptor) Size

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

func (*AuthnDescriptor) String

func (m *AuthnDescriptor) String() string

func (*AuthnDescriptor) Unmarshal

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

func (*AuthnDescriptor) XXX_DiscardUnknown

func (m *AuthnDescriptor) XXX_DiscardUnknown()

func (*AuthnDescriptor) XXX_Marshal

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

func (*AuthnDescriptor) XXX_Merge

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

func (*AuthnDescriptor) XXX_Size

func (m *AuthnDescriptor) XXX_Size() int

func (*AuthnDescriptor) XXX_Unmarshal

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

type ChainDescriptor

type ChainDescriptor struct {
	// id is the chain id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

ChainDescriptor describes chain information of the application

func (*ChainDescriptor) Descriptor

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

func (*ChainDescriptor) GetId

func (m *ChainDescriptor) GetId() string

func (*ChainDescriptor) Marshal

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

func (*ChainDescriptor) MarshalTo

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

func (*ChainDescriptor) MarshalToSizedBuffer

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

func (*ChainDescriptor) ProtoMessage

func (*ChainDescriptor) ProtoMessage()

func (*ChainDescriptor) Reset

func (m *ChainDescriptor) Reset()

func (*ChainDescriptor) Size

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

func (*ChainDescriptor) String

func (m *ChainDescriptor) String() string

func (*ChainDescriptor) Unmarshal

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

func (*ChainDescriptor) XXX_DiscardUnknown

func (m *ChainDescriptor) XXX_DiscardUnknown()

func (*ChainDescriptor) XXX_Marshal

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

func (*ChainDescriptor) XXX_Merge

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

func (*ChainDescriptor) XXX_Size

func (m *ChainDescriptor) XXX_Size() int

func (*ChainDescriptor) XXX_Unmarshal

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

type CodecDescriptor

type CodecDescriptor struct {
	// interfaces is a list of the registerted interfaces descriptors
	Interfaces []*InterfaceDescriptor `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
}

CodecDescriptor describes the registered interfaces and provides metadata information on the types

func (*CodecDescriptor) Descriptor

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

func (*CodecDescriptor) GetInterfaces

func (m *CodecDescriptor) GetInterfaces() []*InterfaceDescriptor

func (*CodecDescriptor) Marshal

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

func (*CodecDescriptor) MarshalTo

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

func (*CodecDescriptor) MarshalToSizedBuffer

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

func (*CodecDescriptor) ProtoMessage

func (*CodecDescriptor) ProtoMessage()

func (*CodecDescriptor) Reset

func (m *CodecDescriptor) Reset()

func (*CodecDescriptor) Size

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

func (*CodecDescriptor) String

func (m *CodecDescriptor) String() string

func (*CodecDescriptor) Unmarshal

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

func (*CodecDescriptor) XXX_DiscardUnknown

func (m *CodecDescriptor) XXX_DiscardUnknown()

func (*CodecDescriptor) XXX_Marshal

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

func (*CodecDescriptor) XXX_Merge

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

func (*CodecDescriptor) XXX_Size

func (m *CodecDescriptor) XXX_Size() int

func (*CodecDescriptor) XXX_Unmarshal

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

type Config

type Config struct {
	SigningModes      map[string]int32
	ChainID           string
	SdkConfig         *sdk.Config
	InterfaceRegistry codectypes.InterfaceRegistry
}

type ConfigurationDescriptor

type ConfigurationDescriptor struct {
	// bech32_account_address_prefix is the account address prefix
	Bech32AccountAddressPrefix string `` /* 143-byte string literal not displayed */
}

ConfigurationDescriptor contains metadata information on the sdk.Config

func (*ConfigurationDescriptor) Descriptor

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

func (*ConfigurationDescriptor) GetBech32AccountAddressPrefix

func (m *ConfigurationDescriptor) GetBech32AccountAddressPrefix() string

func (*ConfigurationDescriptor) Marshal

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

func (*ConfigurationDescriptor) MarshalTo

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

func (*ConfigurationDescriptor) MarshalToSizedBuffer

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

func (*ConfigurationDescriptor) ProtoMessage

func (*ConfigurationDescriptor) ProtoMessage()

func (*ConfigurationDescriptor) Reset

func (m *ConfigurationDescriptor) Reset()

func (*ConfigurationDescriptor) Size

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

func (*ConfigurationDescriptor) String

func (m *ConfigurationDescriptor) String() string

func (*ConfigurationDescriptor) Unmarshal

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

func (*ConfigurationDescriptor) XXX_DiscardUnknown

func (m *ConfigurationDescriptor) XXX_DiscardUnknown()

func (*ConfigurationDescriptor) XXX_Marshal

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

func (*ConfigurationDescriptor) XXX_Merge

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

func (*ConfigurationDescriptor) XXX_Size

func (m *ConfigurationDescriptor) XXX_Size() int

func (*ConfigurationDescriptor) XXX_Unmarshal

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

type GetAuthnDescriptorRequest

type GetAuthnDescriptorRequest struct {
}

GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC

func (*GetAuthnDescriptorRequest) Descriptor

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

func (*GetAuthnDescriptorRequest) Marshal

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

func (*GetAuthnDescriptorRequest) MarshalTo

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

func (*GetAuthnDescriptorRequest) MarshalToSizedBuffer

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

func (*GetAuthnDescriptorRequest) ProtoMessage

func (*GetAuthnDescriptorRequest) ProtoMessage()

func (*GetAuthnDescriptorRequest) Reset

func (m *GetAuthnDescriptorRequest) Reset()

func (*GetAuthnDescriptorRequest) Size

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

func (*GetAuthnDescriptorRequest) String

func (m *GetAuthnDescriptorRequest) String() string

func (*GetAuthnDescriptorRequest) Unmarshal

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

func (*GetAuthnDescriptorRequest) XXX_DiscardUnknown

func (m *GetAuthnDescriptorRequest) XXX_DiscardUnknown()

func (*GetAuthnDescriptorRequest) XXX_Marshal

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

func (*GetAuthnDescriptorRequest) XXX_Merge

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

func (*GetAuthnDescriptorRequest) XXX_Size

func (m *GetAuthnDescriptorRequest) XXX_Size() int

func (*GetAuthnDescriptorRequest) XXX_Unmarshal

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

type GetAuthnDescriptorResponse

type GetAuthnDescriptorResponse struct {
	// authn describes how to authenticate to the application when sending transactions
	Authn *AuthnDescriptor `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
}

GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC

func (*GetAuthnDescriptorResponse) Descriptor

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

func (*GetAuthnDescriptorResponse) GetAuthn

func (*GetAuthnDescriptorResponse) Marshal

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

func (*GetAuthnDescriptorResponse) MarshalTo

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

func (*GetAuthnDescriptorResponse) MarshalToSizedBuffer

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

func (*GetAuthnDescriptorResponse) ProtoMessage

func (*GetAuthnDescriptorResponse) ProtoMessage()

func (*GetAuthnDescriptorResponse) Reset

func (m *GetAuthnDescriptorResponse) Reset()

func (*GetAuthnDescriptorResponse) Size

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

func (*GetAuthnDescriptorResponse) String

func (m *GetAuthnDescriptorResponse) String() string

func (*GetAuthnDescriptorResponse) Unmarshal

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

func (*GetAuthnDescriptorResponse) XXX_DiscardUnknown

func (m *GetAuthnDescriptorResponse) XXX_DiscardUnknown()

func (*GetAuthnDescriptorResponse) XXX_Marshal

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

func (*GetAuthnDescriptorResponse) XXX_Merge

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

func (*GetAuthnDescriptorResponse) XXX_Size

func (m *GetAuthnDescriptorResponse) XXX_Size() int

func (*GetAuthnDescriptorResponse) XXX_Unmarshal

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

type GetChainDescriptorRequest

type GetChainDescriptorRequest struct {
}

GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC

func (*GetChainDescriptorRequest) Descriptor

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

func (*GetChainDescriptorRequest) Marshal

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

func (*GetChainDescriptorRequest) MarshalTo

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

func (*GetChainDescriptorRequest) MarshalToSizedBuffer

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

func (*GetChainDescriptorRequest) ProtoMessage

func (*GetChainDescriptorRequest) ProtoMessage()

func (*GetChainDescriptorRequest) Reset

func (m *GetChainDescriptorRequest) Reset()

func (*GetChainDescriptorRequest) Size

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

func (*GetChainDescriptorRequest) String

func (m *GetChainDescriptorRequest) String() string

func (*GetChainDescriptorRequest) Unmarshal

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

func (*GetChainDescriptorRequest) XXX_DiscardUnknown

func (m *GetChainDescriptorRequest) XXX_DiscardUnknown()

func (*GetChainDescriptorRequest) XXX_Marshal

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

func (*GetChainDescriptorRequest) XXX_Merge

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

func (*GetChainDescriptorRequest) XXX_Size

func (m *GetChainDescriptorRequest) XXX_Size() int

func (*GetChainDescriptorRequest) XXX_Unmarshal

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

type GetChainDescriptorResponse

type GetChainDescriptorResponse struct {
	// chain describes application chain information
	Chain *ChainDescriptor `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
}

GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC

func (*GetChainDescriptorResponse) Descriptor

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

func (*GetChainDescriptorResponse) GetChain

func (*GetChainDescriptorResponse) Marshal

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

func (*GetChainDescriptorResponse) MarshalTo

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

func (*GetChainDescriptorResponse) MarshalToSizedBuffer

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

func (*GetChainDescriptorResponse) ProtoMessage

func (*GetChainDescriptorResponse) ProtoMessage()

func (*GetChainDescriptorResponse) Reset

func (m *GetChainDescriptorResponse) Reset()

func (*GetChainDescriptorResponse) Size

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

func (*GetChainDescriptorResponse) String

func (m *GetChainDescriptorResponse) String() string

func (*GetChainDescriptorResponse) Unmarshal

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

func (*GetChainDescriptorResponse) XXX_DiscardUnknown

func (m *GetChainDescriptorResponse) XXX_DiscardUnknown()

func (*GetChainDescriptorResponse) XXX_Marshal

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

func (*GetChainDescriptorResponse) XXX_Merge

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

func (*GetChainDescriptorResponse) XXX_Size

func (m *GetChainDescriptorResponse) XXX_Size() int

func (*GetChainDescriptorResponse) XXX_Unmarshal

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

type GetCodecDescriptorRequest

type GetCodecDescriptorRequest struct {
}

GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC

func (*GetCodecDescriptorRequest) Descriptor

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

func (*GetCodecDescriptorRequest) Marshal

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

func (*GetCodecDescriptorRequest) MarshalTo

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

func (*GetCodecDescriptorRequest) MarshalToSizedBuffer

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

func (*GetCodecDescriptorRequest) ProtoMessage

func (*GetCodecDescriptorRequest) ProtoMessage()

func (*GetCodecDescriptorRequest) Reset

func (m *GetCodecDescriptorRequest) Reset()

func (*GetCodecDescriptorRequest) Size

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

func (*GetCodecDescriptorRequest) String

func (m *GetCodecDescriptorRequest) String() string

func (*GetCodecDescriptorRequest) Unmarshal

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

func (*GetCodecDescriptorRequest) XXX_DiscardUnknown

func (m *GetCodecDescriptorRequest) XXX_DiscardUnknown()

func (*GetCodecDescriptorRequest) XXX_Marshal

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

func (*GetCodecDescriptorRequest) XXX_Merge

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

func (*GetCodecDescriptorRequest) XXX_Size

func (m *GetCodecDescriptorRequest) XXX_Size() int

func (*GetCodecDescriptorRequest) XXX_Unmarshal

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

type GetCodecDescriptorResponse

type GetCodecDescriptorResponse struct {
	// codec describes the application codec such as registered interfaces and implementations
	Codec *CodecDescriptor `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
}

GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC

func (*GetCodecDescriptorResponse) Descriptor

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

func (*GetCodecDescriptorResponse) GetCodec

func (*GetCodecDescriptorResponse) Marshal

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

func (*GetCodecDescriptorResponse) MarshalTo

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

func (*GetCodecDescriptorResponse) MarshalToSizedBuffer

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

func (*GetCodecDescriptorResponse) ProtoMessage

func (*GetCodecDescriptorResponse) ProtoMessage()

func (*GetCodecDescriptorResponse) Reset

func (m *GetCodecDescriptorResponse) Reset()

func (*GetCodecDescriptorResponse) Size

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

func (*GetCodecDescriptorResponse) String

func (m *GetCodecDescriptorResponse) String() string

func (*GetCodecDescriptorResponse) Unmarshal

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

func (*GetCodecDescriptorResponse) XXX_DiscardUnknown

func (m *GetCodecDescriptorResponse) XXX_DiscardUnknown()

func (*GetCodecDescriptorResponse) XXX_Marshal

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

func (*GetCodecDescriptorResponse) XXX_Merge

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

func (*GetCodecDescriptorResponse) XXX_Size

func (m *GetCodecDescriptorResponse) XXX_Size() int

func (*GetCodecDescriptorResponse) XXX_Unmarshal

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

type GetConfigurationDescriptorRequest

type GetConfigurationDescriptorRequest struct {
}

GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC

func (*GetConfigurationDescriptorRequest) Descriptor

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

func (*GetConfigurationDescriptorRequest) Marshal

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

func (*GetConfigurationDescriptorRequest) MarshalTo

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

func (*GetConfigurationDescriptorRequest) MarshalToSizedBuffer

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

func (*GetConfigurationDescriptorRequest) ProtoMessage

func (*GetConfigurationDescriptorRequest) ProtoMessage()

func (*GetConfigurationDescriptorRequest) Reset

func (*GetConfigurationDescriptorRequest) Size

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

func (*GetConfigurationDescriptorRequest) String

func (*GetConfigurationDescriptorRequest) Unmarshal

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

func (*GetConfigurationDescriptorRequest) XXX_DiscardUnknown

func (m *GetConfigurationDescriptorRequest) XXX_DiscardUnknown()

func (*GetConfigurationDescriptorRequest) XXX_Marshal

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

func (*GetConfigurationDescriptorRequest) XXX_Merge

func (*GetConfigurationDescriptorRequest) XXX_Size

func (m *GetConfigurationDescriptorRequest) XXX_Size() int

func (*GetConfigurationDescriptorRequest) XXX_Unmarshal

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

type GetConfigurationDescriptorResponse

type GetConfigurationDescriptorResponse struct {
	// config describes the application's sdk.Config
	Config *ConfigurationDescriptor `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
}

GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC

func (*GetConfigurationDescriptorResponse) Descriptor

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

func (*GetConfigurationDescriptorResponse) GetConfig

func (*GetConfigurationDescriptorResponse) Marshal

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

func (*GetConfigurationDescriptorResponse) MarshalTo

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

func (*GetConfigurationDescriptorResponse) MarshalToSizedBuffer

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

func (*GetConfigurationDescriptorResponse) ProtoMessage

func (*GetConfigurationDescriptorResponse) ProtoMessage()

func (*GetConfigurationDescriptorResponse) Reset

func (*GetConfigurationDescriptorResponse) Size

func (*GetConfigurationDescriptorResponse) String

func (*GetConfigurationDescriptorResponse) Unmarshal

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

func (*GetConfigurationDescriptorResponse) XXX_DiscardUnknown

func (m *GetConfigurationDescriptorResponse) XXX_DiscardUnknown()

func (*GetConfigurationDescriptorResponse) XXX_Marshal

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

func (*GetConfigurationDescriptorResponse) XXX_Merge

func (*GetConfigurationDescriptorResponse) XXX_Size

func (*GetConfigurationDescriptorResponse) XXX_Unmarshal

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

type GetQueryServicesDescriptorRequest

type GetQueryServicesDescriptorRequest struct {
}

GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC

func (*GetQueryServicesDescriptorRequest) Descriptor

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

func (*GetQueryServicesDescriptorRequest) Marshal

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

func (*GetQueryServicesDescriptorRequest) MarshalTo

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

func (*GetQueryServicesDescriptorRequest) MarshalToSizedBuffer

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

func (*GetQueryServicesDescriptorRequest) ProtoMessage

func (*GetQueryServicesDescriptorRequest) ProtoMessage()

func (*GetQueryServicesDescriptorRequest) Reset

func (*GetQueryServicesDescriptorRequest) Size

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

func (*GetQueryServicesDescriptorRequest) String

func (*GetQueryServicesDescriptorRequest) Unmarshal

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

func (*GetQueryServicesDescriptorRequest) XXX_DiscardUnknown

func (m *GetQueryServicesDescriptorRequest) XXX_DiscardUnknown()

func (*GetQueryServicesDescriptorRequest) XXX_Marshal

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

func (*GetQueryServicesDescriptorRequest) XXX_Merge

func (*GetQueryServicesDescriptorRequest) XXX_Size

func (m *GetQueryServicesDescriptorRequest) XXX_Size() int

func (*GetQueryServicesDescriptorRequest) XXX_Unmarshal

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

type GetQueryServicesDescriptorResponse

type GetQueryServicesDescriptorResponse struct {
	// queries provides information on the available queryable services
	Queries *QueryServicesDescriptor `protobuf:"bytes,1,opt,name=queries,proto3" json:"queries,omitempty"`
}

GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC

func (*GetQueryServicesDescriptorResponse) Descriptor

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

func (*GetQueryServicesDescriptorResponse) GetQueries

func (*GetQueryServicesDescriptorResponse) Marshal

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

func (*GetQueryServicesDescriptorResponse) MarshalTo

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

func (*GetQueryServicesDescriptorResponse) MarshalToSizedBuffer

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

func (*GetQueryServicesDescriptorResponse) ProtoMessage

func (*GetQueryServicesDescriptorResponse) ProtoMessage()

func (*GetQueryServicesDescriptorResponse) Reset

func (*GetQueryServicesDescriptorResponse) Size

func (*GetQueryServicesDescriptorResponse) String

func (*GetQueryServicesDescriptorResponse) Unmarshal

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

func (*GetQueryServicesDescriptorResponse) XXX_DiscardUnknown

func (m *GetQueryServicesDescriptorResponse) XXX_DiscardUnknown()

func (*GetQueryServicesDescriptorResponse) XXX_Marshal

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

func (*GetQueryServicesDescriptorResponse) XXX_Merge

func (*GetQueryServicesDescriptorResponse) XXX_Size

func (*GetQueryServicesDescriptorResponse) XXX_Unmarshal

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

type GetTxDescriptorRequest

type GetTxDescriptorRequest struct {
}

GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC

func (*GetTxDescriptorRequest) Descriptor

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

func (*GetTxDescriptorRequest) Marshal

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

func (*GetTxDescriptorRequest) MarshalTo

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

func (*GetTxDescriptorRequest) MarshalToSizedBuffer

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

func (*GetTxDescriptorRequest) ProtoMessage

func (*GetTxDescriptorRequest) ProtoMessage()

func (*GetTxDescriptorRequest) Reset

func (m *GetTxDescriptorRequest) Reset()

func (*GetTxDescriptorRequest) Size

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

func (*GetTxDescriptorRequest) String

func (m *GetTxDescriptorRequest) String() string

func (*GetTxDescriptorRequest) Unmarshal

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

func (*GetTxDescriptorRequest) XXX_DiscardUnknown

func (m *GetTxDescriptorRequest) XXX_DiscardUnknown()

func (*GetTxDescriptorRequest) XXX_Marshal

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

func (*GetTxDescriptorRequest) XXX_Merge

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

func (*GetTxDescriptorRequest) XXX_Size

func (m *GetTxDescriptorRequest) XXX_Size() int

func (*GetTxDescriptorRequest) XXX_Unmarshal

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

type GetTxDescriptorResponse

type GetTxDescriptorResponse struct {
	// tx provides information on msgs that can be forwarded to the application
	// alongside the accepted transaction protobuf type
	Tx *TxDescriptor `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
}

GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC

func (*GetTxDescriptorResponse) Descriptor

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

func (*GetTxDescriptorResponse) GetTx

func (*GetTxDescriptorResponse) Marshal

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

func (*GetTxDescriptorResponse) MarshalTo

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

func (*GetTxDescriptorResponse) MarshalToSizedBuffer

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

func (*GetTxDescriptorResponse) ProtoMessage

func (*GetTxDescriptorResponse) ProtoMessage()

func (*GetTxDescriptorResponse) Reset

func (m *GetTxDescriptorResponse) Reset()

func (*GetTxDescriptorResponse) Size

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

func (*GetTxDescriptorResponse) String

func (m *GetTxDescriptorResponse) String() string

func (*GetTxDescriptorResponse) Unmarshal

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

func (*GetTxDescriptorResponse) XXX_DiscardUnknown

func (m *GetTxDescriptorResponse) XXX_DiscardUnknown()

func (*GetTxDescriptorResponse) XXX_Marshal

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

func (*GetTxDescriptorResponse) XXX_Merge

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

func (*GetTxDescriptorResponse) XXX_Size

func (m *GetTxDescriptorResponse) XXX_Size() int

func (*GetTxDescriptorResponse) XXX_Unmarshal

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

type InterfaceAcceptingMessageDescriptor

type InterfaceAcceptingMessageDescriptor struct {
	// fullname is the protobuf fullname of the type containing the interface
	Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"`
	// field_descriptor_names is a list of the protobuf name (not fullname) of the field
	// which contains the interface as google.protobuf.Any (the interface is the same, but
	// it can be in multiple fields of the same proto message)
	FieldDescriptorNames []string `protobuf:"bytes,2,rep,name=field_descriptor_names,json=fieldDescriptorNames,proto3" json:"field_descriptor_names,omitempty"`
}

InterfaceAcceptingMessageDescriptor describes a protobuf message which contains an interface represented as a google.protobuf.Any

func (*InterfaceAcceptingMessageDescriptor) Descriptor

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

func (*InterfaceAcceptingMessageDescriptor) GetFieldDescriptorNames

func (m *InterfaceAcceptingMessageDescriptor) GetFieldDescriptorNames() []string

func (*InterfaceAcceptingMessageDescriptor) GetFullname

func (*InterfaceAcceptingMessageDescriptor) Marshal

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

func (*InterfaceAcceptingMessageDescriptor) MarshalTo

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

func (*InterfaceAcceptingMessageDescriptor) MarshalToSizedBuffer

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

func (*InterfaceAcceptingMessageDescriptor) ProtoMessage

func (*InterfaceAcceptingMessageDescriptor) ProtoMessage()

func (*InterfaceAcceptingMessageDescriptor) Reset

func (*InterfaceAcceptingMessageDescriptor) Size

func (*InterfaceAcceptingMessageDescriptor) String

func (*InterfaceAcceptingMessageDescriptor) Unmarshal

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

func (*InterfaceAcceptingMessageDescriptor) XXX_DiscardUnknown

func (m *InterfaceAcceptingMessageDescriptor) XXX_DiscardUnknown()

func (*InterfaceAcceptingMessageDescriptor) XXX_Marshal

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

func (*InterfaceAcceptingMessageDescriptor) XXX_Merge

func (*InterfaceAcceptingMessageDescriptor) XXX_Size

func (*InterfaceAcceptingMessageDescriptor) XXX_Unmarshal

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

type InterfaceDescriptor

type InterfaceDescriptor struct {
	// fullname is the name of the interface
	Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"`
	// interface_accepting_messages contains information regarding the proto messages which contain the interface as
	// google.protobuf.Any field
	InterfaceAcceptingMessages []*InterfaceAcceptingMessageDescriptor `` /* 141-byte string literal not displayed */
	// interface_implementers is a list of the descriptors of the interface implementers
	InterfaceImplementers []*InterfaceImplementerDescriptor `protobuf:"bytes,3,rep,name=interface_implementers,json=interfaceImplementers,proto3" json:"interface_implementers,omitempty"`
}

InterfaceDescriptor describes the implementation of an interface

func (*InterfaceDescriptor) Descriptor

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

func (*InterfaceDescriptor) GetFullname

func (m *InterfaceDescriptor) GetFullname() string

func (*InterfaceDescriptor) GetInterfaceAcceptingMessages

func (m *InterfaceDescriptor) GetInterfaceAcceptingMessages() []*InterfaceAcceptingMessageDescriptor

func (*InterfaceDescriptor) GetInterfaceImplementers

func (m *InterfaceDescriptor) GetInterfaceImplementers() []*InterfaceImplementerDescriptor

func (*InterfaceDescriptor) Marshal

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

func (*InterfaceDescriptor) MarshalTo

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

func (*InterfaceDescriptor) MarshalToSizedBuffer

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

func (*InterfaceDescriptor) ProtoMessage

func (*InterfaceDescriptor) ProtoMessage()

func (*InterfaceDescriptor) Reset

func (m *InterfaceDescriptor) Reset()

func (*InterfaceDescriptor) Size

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

func (*InterfaceDescriptor) String

func (m *InterfaceDescriptor) String() string

func (*InterfaceDescriptor) Unmarshal

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

func (*InterfaceDescriptor) XXX_DiscardUnknown

func (m *InterfaceDescriptor) XXX_DiscardUnknown()

func (*InterfaceDescriptor) XXX_Marshal

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

func (*InterfaceDescriptor) XXX_Merge

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

func (*InterfaceDescriptor) XXX_Size

func (m *InterfaceDescriptor) XXX_Size() int

func (*InterfaceDescriptor) XXX_Unmarshal

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

type InterfaceImplementerDescriptor

type InterfaceImplementerDescriptor struct {
	// fullname is the protobuf queryable name of the interface implementer
	Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"`
	// type_url defines the type URL used when marshalling the type as any
	// this is required so we can provide type safe google.protobuf.Any marshalling and
	// unmarshalling, making sure that we don't accept just 'any' type
	// in our interface fields
	TypeUrl string `protobuf:"bytes,2,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
}

InterfaceImplementerDescriptor describes an interface implementer

func (*InterfaceImplementerDescriptor) Descriptor

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

func (*InterfaceImplementerDescriptor) GetFullname

func (m *InterfaceImplementerDescriptor) GetFullname() string

func (*InterfaceImplementerDescriptor) GetTypeUrl

func (m *InterfaceImplementerDescriptor) GetTypeUrl() string

func (*InterfaceImplementerDescriptor) Marshal

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

func (*InterfaceImplementerDescriptor) MarshalTo

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

func (*InterfaceImplementerDescriptor) MarshalToSizedBuffer

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

func (*InterfaceImplementerDescriptor) ProtoMessage

func (*InterfaceImplementerDescriptor) ProtoMessage()

func (*InterfaceImplementerDescriptor) Reset

func (m *InterfaceImplementerDescriptor) Reset()

func (*InterfaceImplementerDescriptor) Size

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

func (*InterfaceImplementerDescriptor) String

func (*InterfaceImplementerDescriptor) Unmarshal

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

func (*InterfaceImplementerDescriptor) XXX_DiscardUnknown

func (m *InterfaceImplementerDescriptor) XXX_DiscardUnknown()

func (*InterfaceImplementerDescriptor) XXX_Marshal

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

func (*InterfaceImplementerDescriptor) XXX_Merge

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

func (*InterfaceImplementerDescriptor) XXX_Size

func (m *InterfaceImplementerDescriptor) XXX_Size() int

func (*InterfaceImplementerDescriptor) XXX_Unmarshal

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

type MsgDescriptor

type MsgDescriptor struct {
	// msg_type_url contains the TypeURL of a sdk.Msg.
	MsgTypeUrl string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
}

MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction

func (*MsgDescriptor) Descriptor

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

func (*MsgDescriptor) GetMsgTypeUrl

func (m *MsgDescriptor) GetMsgTypeUrl() string

func (*MsgDescriptor) Marshal

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

func (*MsgDescriptor) MarshalTo

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

func (*MsgDescriptor) MarshalToSizedBuffer

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

func (*MsgDescriptor) ProtoMessage

func (*MsgDescriptor) ProtoMessage()

func (*MsgDescriptor) Reset

func (m *MsgDescriptor) Reset()

func (*MsgDescriptor) Size

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

func (*MsgDescriptor) String

func (m *MsgDescriptor) String() string

func (*MsgDescriptor) Unmarshal

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

func (*MsgDescriptor) XXX_DiscardUnknown

func (m *MsgDescriptor) XXX_DiscardUnknown()

func (*MsgDescriptor) XXX_Marshal

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

func (*MsgDescriptor) XXX_Merge

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

func (*MsgDescriptor) XXX_Size

func (m *MsgDescriptor) XXX_Size() int

func (*MsgDescriptor) XXX_Unmarshal

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

type QueryMethodDescriptor

type QueryMethodDescriptor struct {
	// name is the protobuf name (not fullname) of the method
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// full_query_path is the path that can be used to query
	// this method via tendermint abci.Query
	FullQueryPath string `protobuf:"bytes,2,opt,name=full_query_path,json=fullQueryPath,proto3" json:"full_query_path,omitempty"`
}

QueryMethodDescriptor describes a queryable method of a query service no other info is provided beside method name and tendermint queryable path because it would be redundant with the grpc reflection service

func (*QueryMethodDescriptor) Descriptor

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

func (*QueryMethodDescriptor) GetFullQueryPath

func (m *QueryMethodDescriptor) GetFullQueryPath() string

func (*QueryMethodDescriptor) GetName

func (m *QueryMethodDescriptor) GetName() string

func (*QueryMethodDescriptor) Marshal

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

func (*QueryMethodDescriptor) MarshalTo

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

func (*QueryMethodDescriptor) MarshalToSizedBuffer

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

func (*QueryMethodDescriptor) ProtoMessage

func (*QueryMethodDescriptor) ProtoMessage()

func (*QueryMethodDescriptor) Reset

func (m *QueryMethodDescriptor) Reset()

func (*QueryMethodDescriptor) Size

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

func (*QueryMethodDescriptor) String

func (m *QueryMethodDescriptor) String() string

func (*QueryMethodDescriptor) Unmarshal

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

func (*QueryMethodDescriptor) XXX_DiscardUnknown

func (m *QueryMethodDescriptor) XXX_DiscardUnknown()

func (*QueryMethodDescriptor) XXX_Marshal

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

func (*QueryMethodDescriptor) XXX_Merge

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

func (*QueryMethodDescriptor) XXX_Size

func (m *QueryMethodDescriptor) XXX_Size() int

func (*QueryMethodDescriptor) XXX_Unmarshal

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

type QueryServiceDescriptor

type QueryServiceDescriptor struct {
	// fullname is the protobuf fullname of the service descriptor
	Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"`
	// is_module describes if this service is actually exposed by an application's module
	IsModule bool `protobuf:"varint,2,opt,name=is_module,json=isModule,proto3" json:"is_module,omitempty"`
	// methods provides a list of query service methods
	Methods []*QueryMethodDescriptor `protobuf:"bytes,3,rep,name=methods,proto3" json:"methods,omitempty"`
}

QueryServiceDescriptor describes a cosmos-sdk queryable service

func (*QueryServiceDescriptor) Descriptor

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

func (*QueryServiceDescriptor) GetFullname

func (m *QueryServiceDescriptor) GetFullname() string

func (*QueryServiceDescriptor) GetIsModule

func (m *QueryServiceDescriptor) GetIsModule() bool

func (*QueryServiceDescriptor) GetMethods

func (m *QueryServiceDescriptor) GetMethods() []*QueryMethodDescriptor

func (*QueryServiceDescriptor) Marshal

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

func (*QueryServiceDescriptor) MarshalTo

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

func (*QueryServiceDescriptor) MarshalToSizedBuffer

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

func (*QueryServiceDescriptor) ProtoMessage

func (*QueryServiceDescriptor) ProtoMessage()

func (*QueryServiceDescriptor) Reset

func (m *QueryServiceDescriptor) Reset()

func (*QueryServiceDescriptor) Size

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

func (*QueryServiceDescriptor) String

func (m *QueryServiceDescriptor) String() string

func (*QueryServiceDescriptor) Unmarshal

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

func (*QueryServiceDescriptor) XXX_DiscardUnknown

func (m *QueryServiceDescriptor) XXX_DiscardUnknown()

func (*QueryServiceDescriptor) XXX_Marshal

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

func (*QueryServiceDescriptor) XXX_Merge

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

func (*QueryServiceDescriptor) XXX_Size

func (m *QueryServiceDescriptor) XXX_Size() int

func (*QueryServiceDescriptor) XXX_Unmarshal

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

type QueryServicesDescriptor

type QueryServicesDescriptor struct {
	// query_services is a list of cosmos-sdk QueryServiceDescriptor
	QueryServices []*QueryServiceDescriptor `protobuf:"bytes,1,rep,name=query_services,json=queryServices,proto3" json:"query_services,omitempty"`
}

QueryServicesDescriptor contains the list of cosmos-sdk queriable services

func (*QueryServicesDescriptor) Descriptor

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

func (*QueryServicesDescriptor) GetQueryServices

func (m *QueryServicesDescriptor) GetQueryServices() []*QueryServiceDescriptor

func (*QueryServicesDescriptor) Marshal

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

func (*QueryServicesDescriptor) MarshalTo

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

func (*QueryServicesDescriptor) MarshalToSizedBuffer

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

func (*QueryServicesDescriptor) ProtoMessage

func (*QueryServicesDescriptor) ProtoMessage()

func (*QueryServicesDescriptor) Reset

func (m *QueryServicesDescriptor) Reset()

func (*QueryServicesDescriptor) Size

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

func (*QueryServicesDescriptor) String

func (m *QueryServicesDescriptor) String() string

func (*QueryServicesDescriptor) Unmarshal

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

func (*QueryServicesDescriptor) XXX_DiscardUnknown

func (m *QueryServicesDescriptor) XXX_DiscardUnknown()

func (*QueryServicesDescriptor) XXX_Marshal

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

func (*QueryServicesDescriptor) XXX_Merge

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

func (*QueryServicesDescriptor) XXX_Size

func (m *QueryServicesDescriptor) XXX_Size() int

func (*QueryServicesDescriptor) XXX_Unmarshal

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

type ReflectionServiceClient

type ReflectionServiceClient interface {
	// GetAuthnDescriptor returns information on how to authenticate transactions in the application
	// NOTE: this RPC is still experimental and might be subject to breaking changes or removal in
	// future releases of the cosmos-sdk.
	GetAuthnDescriptor(ctx context.Context, in *GetAuthnDescriptorRequest, opts ...grpc.CallOption) (*GetAuthnDescriptorResponse, error)
	// GetChainDescriptor returns the description of the chain
	GetChainDescriptor(ctx context.Context, in *GetChainDescriptorRequest, opts ...grpc.CallOption) (*GetChainDescriptorResponse, error)
	// GetCodecDescriptor returns the descriptor of the codec of the application
	GetCodecDescriptor(ctx context.Context, in *GetCodecDescriptorRequest, opts ...grpc.CallOption) (*GetCodecDescriptorResponse, error)
	// GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application
	GetConfigurationDescriptor(ctx context.Context, in *GetConfigurationDescriptorRequest, opts ...grpc.CallOption) (*GetConfigurationDescriptorResponse, error)
	// GetQueryServicesDescriptor returns the available gRPC queryable services of the application
	GetQueryServicesDescriptor(ctx context.Context, in *GetQueryServicesDescriptorRequest, opts ...grpc.CallOption) (*GetQueryServicesDescriptorResponse, error)
	// GetTxDescriptor returns information on the used transaction object and available msgs that can be used
	GetTxDescriptor(ctx context.Context, in *GetTxDescriptorRequest, opts ...grpc.CallOption) (*GetTxDescriptorResponse, error)
}

ReflectionServiceClient is the client API for ReflectionService service.

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

func NewReflectionServiceClient

func NewReflectionServiceClient(cc grpc1.ClientConn) ReflectionServiceClient

type ReflectionServiceServer

type ReflectionServiceServer interface {
	// GetAuthnDescriptor returns information on how to authenticate transactions in the application
	// NOTE: this RPC is still experimental and might be subject to breaking changes or removal in
	// future releases of the cosmos-sdk.
	GetAuthnDescriptor(context.Context, *GetAuthnDescriptorRequest) (*GetAuthnDescriptorResponse, error)
	// GetChainDescriptor returns the description of the chain
	GetChainDescriptor(context.Context, *GetChainDescriptorRequest) (*GetChainDescriptorResponse, error)
	// GetCodecDescriptor returns the descriptor of the codec of the application
	GetCodecDescriptor(context.Context, *GetCodecDescriptorRequest) (*GetCodecDescriptorResponse, error)
	// GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application
	GetConfigurationDescriptor(context.Context, *GetConfigurationDescriptorRequest) (*GetConfigurationDescriptorResponse, error)
	// GetQueryServicesDescriptor returns the available gRPC queryable services of the application
	GetQueryServicesDescriptor(context.Context, *GetQueryServicesDescriptorRequest) (*GetQueryServicesDescriptorResponse, error)
	// GetTxDescriptor returns information on the used transaction object and available msgs that can be used
	GetTxDescriptor(context.Context, *GetTxDescriptorRequest) (*GetTxDescriptorResponse, error)
}

ReflectionServiceServer is the server API for ReflectionService service.

type SigningModeDescriptor

type SigningModeDescriptor struct {
	// name defines the unique name of the signing mode
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// number is the unique int32 identifier for the sign_mode enum
	Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// authn_info_provider_method_fullname defines the fullname of the method to call to get
	// the metadata required to authenticate using the provided sign_modes
	AuthnInfoProviderMethodFullname string `` /* 160-byte string literal not displayed */
}

SigningModeDescriptor provides information on a signing flow of the application NOTE(fdymylja): here we could go as far as providing an entire flow on how to sign a message given a SigningModeDescriptor, but it's better to think about this another time

func (*SigningModeDescriptor) Descriptor

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

func (*SigningModeDescriptor) GetAuthnInfoProviderMethodFullname

func (m *SigningModeDescriptor) GetAuthnInfoProviderMethodFullname() string

func (*SigningModeDescriptor) GetName

func (m *SigningModeDescriptor) GetName() string

func (*SigningModeDescriptor) GetNumber

func (m *SigningModeDescriptor) GetNumber() int32

func (*SigningModeDescriptor) Marshal

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

func (*SigningModeDescriptor) MarshalTo

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

func (*SigningModeDescriptor) MarshalToSizedBuffer

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

func (*SigningModeDescriptor) ProtoMessage

func (*SigningModeDescriptor) ProtoMessage()

func (*SigningModeDescriptor) Reset

func (m *SigningModeDescriptor) Reset()

func (*SigningModeDescriptor) Size

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

func (*SigningModeDescriptor) String

func (m *SigningModeDescriptor) String() string

func (*SigningModeDescriptor) Unmarshal

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

func (*SigningModeDescriptor) XXX_DiscardUnknown

func (m *SigningModeDescriptor) XXX_DiscardUnknown()

func (*SigningModeDescriptor) XXX_Marshal

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

func (*SigningModeDescriptor) XXX_Merge

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

func (*SigningModeDescriptor) XXX_Size

func (m *SigningModeDescriptor) XXX_Size() int

func (*SigningModeDescriptor) XXX_Unmarshal

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

type TxDescriptor

type TxDescriptor struct {
	// fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type)
	// it is not meant to support polymorphism of transaction types, it is supposed to be used by
	// reflection clients to understand if they can handle a specific transaction type in an application.
	Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"`
	// msgs lists the accepted application messages (sdk.Msg)
	Msgs []*MsgDescriptor `protobuf:"bytes,2,rep,name=msgs,proto3" json:"msgs,omitempty"`
}

TxDescriptor describes the accepted transaction type

func (*TxDescriptor) Descriptor

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

func (*TxDescriptor) GetFullname

func (m *TxDescriptor) GetFullname() string

func (*TxDescriptor) GetMsgs

func (m *TxDescriptor) GetMsgs() []*MsgDescriptor

func (*TxDescriptor) Marshal

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

func (*TxDescriptor) MarshalTo

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

func (*TxDescriptor) MarshalToSizedBuffer

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

func (*TxDescriptor) ProtoMessage

func (*TxDescriptor) ProtoMessage()

func (*TxDescriptor) Reset

func (m *TxDescriptor) Reset()

func (*TxDescriptor) Size

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

func (*TxDescriptor) String

func (m *TxDescriptor) String() string

func (*TxDescriptor) Unmarshal

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

func (*TxDescriptor) XXX_DiscardUnknown

func (m *TxDescriptor) XXX_DiscardUnknown()

func (*TxDescriptor) XXX_Marshal

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

func (*TxDescriptor) XXX_Merge

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

func (*TxDescriptor) XXX_Size

func (m *TxDescriptor) XXX_Size() int

func (*TxDescriptor) XXX_Unmarshal

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

type UnimplementedReflectionServiceServer

type UnimplementedReflectionServiceServer struct {
}

UnimplementedReflectionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedReflectionServiceServer) GetAuthnDescriptor

func (*UnimplementedReflectionServiceServer) GetChainDescriptor

func (*UnimplementedReflectionServiceServer) GetCodecDescriptor

func (*UnimplementedReflectionServiceServer) GetConfigurationDescriptor

func (*UnimplementedReflectionServiceServer) GetQueryServicesDescriptor

func (*UnimplementedReflectionServiceServer) GetTxDescriptor

Jump to

Keyboard shortcuts

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