v1

package
v12.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ErrInvalidLengthMsg        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsg          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsg = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProvider        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProvider          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProvider = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuerier        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuerier          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuerier = fmt.Errorf("proto: unexpected end of group")
)
View Source
var MsgService_serviceDesc = _MsgService_serviceDesc
View Source
var QueryService_serviceDesc = _QueryService_serviceDesc

Functions

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.InterfaceRegistry)

func RegisterMsgServiceServer

func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer)

func RegisterQueryServiceHandler

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

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

func RegisterQueryServiceHandlerClient

func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error

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

func RegisterQueryServiceHandlerFromEndpoint

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

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

func RegisterQueryServiceHandlerServer

func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error

RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". UnaryRPC :call QueryServiceServer 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 RegisterQueryServiceHandlerFromEndpoint instead.

func RegisterQueryServiceServer

func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)

Types

type EventRegister

type EventRegister struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
}

func (*EventRegister) Descriptor

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

func (*EventRegister) Marshal

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

func (*EventRegister) MarshalTo

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

func (*EventRegister) MarshalToSizedBuffer

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

func (*EventRegister) ProtoMessage

func (*EventRegister) ProtoMessage()

func (*EventRegister) Reset

func (m *EventRegister) Reset()

func (*EventRegister) Size

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

func (*EventRegister) String

func (m *EventRegister) String() string

func (*EventRegister) Unmarshal

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

func (*EventRegister) XXX_DiscardUnknown

func (m *EventRegister) XXX_DiscardUnknown()

func (*EventRegister) XXX_Marshal

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

func (*EventRegister) XXX_Merge

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

func (*EventRegister) XXX_Size

func (m *EventRegister) XXX_Size() int

func (*EventRegister) XXX_Unmarshal

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

type EventUpdate

type EventUpdate struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
}

func (*EventUpdate) Descriptor

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

func (*EventUpdate) Marshal

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

func (*EventUpdate) MarshalTo

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

func (*EventUpdate) MarshalToSizedBuffer

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

func (*EventUpdate) ProtoMessage

func (*EventUpdate) ProtoMessage()

func (*EventUpdate) Reset

func (m *EventUpdate) Reset()

func (*EventUpdate) Size

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

func (*EventUpdate) String

func (m *EventUpdate) String() string

func (*EventUpdate) Unmarshal

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

func (*EventUpdate) XXX_DiscardUnknown

func (m *EventUpdate) XXX_DiscardUnknown()

func (*EventUpdate) XXX_Marshal

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

func (*EventUpdate) XXX_Merge

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

func (*EventUpdate) XXX_Size

func (m *EventUpdate) XXX_Size() int

func (*EventUpdate) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Providers []Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"_,omitempty"`
	Params    Params     `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*GenesisState) Descriptor

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

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) 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 MsgRegisterRequest

type MsgRegisterRequest struct {
	From        string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Identity    string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	Website     string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
}

func (*MsgRegisterRequest) Descriptor

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

func (*MsgRegisterRequest) GetSigners

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

func (*MsgRegisterRequest) Marshal

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

func (*MsgRegisterRequest) MarshalTo

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

func (*MsgRegisterRequest) MarshalToSizedBuffer

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

func (*MsgRegisterRequest) ProtoMessage

func (*MsgRegisterRequest) ProtoMessage()

func (*MsgRegisterRequest) Reset

func (m *MsgRegisterRequest) Reset()

func (*MsgRegisterRequest) Size

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

func (*MsgRegisterRequest) String

func (m *MsgRegisterRequest) String() string

func (*MsgRegisterRequest) Unmarshal

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

func (*MsgRegisterRequest) ValidateBasic

func (m *MsgRegisterRequest) ValidateBasic() error

func (*MsgRegisterRequest) XXX_DiscardUnknown

func (m *MsgRegisterRequest) XXX_DiscardUnknown()

func (*MsgRegisterRequest) XXX_Marshal

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

func (*MsgRegisterRequest) XXX_Merge

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

func (*MsgRegisterRequest) XXX_Size

func (m *MsgRegisterRequest) XXX_Size() int

func (*MsgRegisterRequest) XXX_Unmarshal

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

type MsgRegisterResponse

type MsgRegisterResponse struct {
}

func (*MsgRegisterResponse) Descriptor

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

func (*MsgRegisterResponse) Marshal

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

func (*MsgRegisterResponse) MarshalTo

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

func (*MsgRegisterResponse) MarshalToSizedBuffer

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

func (*MsgRegisterResponse) ProtoMessage

func (*MsgRegisterResponse) ProtoMessage()

func (*MsgRegisterResponse) Reset

func (m *MsgRegisterResponse) Reset()

func (*MsgRegisterResponse) Size

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

func (*MsgRegisterResponse) String

func (m *MsgRegisterResponse) String() string

func (*MsgRegisterResponse) Unmarshal

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

func (*MsgRegisterResponse) XXX_DiscardUnknown

func (m *MsgRegisterResponse) XXX_DiscardUnknown()

func (*MsgRegisterResponse) XXX_Marshal

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

func (*MsgRegisterResponse) XXX_Merge

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

func (*MsgRegisterResponse) XXX_Size

func (m *MsgRegisterResponse) XXX_Size() int

func (*MsgRegisterResponse) XXX_Unmarshal

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

type MsgServiceClient

type MsgServiceClient interface {
	MsgRegister(ctx context.Context, in *MsgRegisterRequest, opts ...grpc.CallOption) (*MsgRegisterResponse, error)
	MsgUpdate(ctx context.Context, in *MsgUpdateRequest, opts ...grpc.CallOption) (*MsgUpdateResponse, error)
}

MsgServiceClient is the client API for MsgService service.

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

func NewMsgServiceClient

func NewMsgServiceClient(cc grpc1.ClientConn) MsgServiceClient

type MsgServiceServer

type MsgServiceServer interface {
	MsgRegister(context.Context, *MsgRegisterRequest) (*MsgRegisterResponse, error)
	MsgUpdate(context.Context, *MsgUpdateRequest) (*MsgUpdateResponse, error)
}

MsgServiceServer is the server API for MsgService service.

type MsgUpdateRequest

type MsgUpdateRequest struct {
	From        string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Identity    string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	Website     string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
}

func (*MsgUpdateRequest) Descriptor

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

func (*MsgUpdateRequest) GetSigners

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

func (*MsgUpdateRequest) Marshal

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

func (*MsgUpdateRequest) MarshalTo

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

func (*MsgUpdateRequest) MarshalToSizedBuffer

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

func (*MsgUpdateRequest) ProtoMessage

func (*MsgUpdateRequest) ProtoMessage()

func (*MsgUpdateRequest) Reset

func (m *MsgUpdateRequest) Reset()

func (*MsgUpdateRequest) Size

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

func (*MsgUpdateRequest) String

func (m *MsgUpdateRequest) String() string

func (*MsgUpdateRequest) Unmarshal

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

func (*MsgUpdateRequest) ValidateBasic

func (m *MsgUpdateRequest) ValidateBasic() error

func (*MsgUpdateRequest) XXX_DiscardUnknown

func (m *MsgUpdateRequest) XXX_DiscardUnknown()

func (*MsgUpdateRequest) XXX_Marshal

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

func (*MsgUpdateRequest) XXX_Merge

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

func (*MsgUpdateRequest) XXX_Size

func (m *MsgUpdateRequest) XXX_Size() int

func (*MsgUpdateRequest) XXX_Unmarshal

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

type MsgUpdateResponse

type MsgUpdateResponse struct {
}

func (*MsgUpdateResponse) Descriptor

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

func (*MsgUpdateResponse) Marshal

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

func (*MsgUpdateResponse) MarshalTo

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

func (*MsgUpdateResponse) MarshalToSizedBuffer

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

func (*MsgUpdateResponse) ProtoMessage

func (*MsgUpdateResponse) ProtoMessage()

func (*MsgUpdateResponse) Reset

func (m *MsgUpdateResponse) Reset()

func (*MsgUpdateResponse) Size

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

func (*MsgUpdateResponse) String

func (m *MsgUpdateResponse) String() string

func (*MsgUpdateResponse) Unmarshal

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

func (*MsgUpdateResponse) XXX_DiscardUnknown

func (m *MsgUpdateResponse) XXX_DiscardUnknown()

func (*MsgUpdateResponse) XXX_Marshal

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

func (*MsgUpdateResponse) XXX_Merge

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

func (*MsgUpdateResponse) XXX_Size

func (m *MsgUpdateResponse) XXX_Size() int

func (*MsgUpdateResponse) XXX_Unmarshal

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

type Params

type Params struct {
	Deposit      types.Coin                             `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit"`
	StakingShare github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */
}

func (*Params) Descriptor

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

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type Provider

type Provider struct {
	Address     string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Identity    string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	Website     string `protobuf:"bytes,4,opt,name=website,proto3" json:"website,omitempty"`
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
}

func (*Provider) Descriptor

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

func (*Provider) Marshal

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

func (*Provider) MarshalTo

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

func (*Provider) MarshalToSizedBuffer

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

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) Reset

func (m *Provider) Reset()

func (*Provider) Size

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

func (*Provider) String

func (m *Provider) String() string

func (*Provider) Unmarshal

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

func (*Provider) XXX_DiscardUnknown

func (m *Provider) XXX_DiscardUnknown()

func (*Provider) XXX_Marshal

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

func (*Provider) XXX_Merge

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

func (*Provider) XXX_Size

func (m *Provider) XXX_Size() int

func (*Provider) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryProviderRequest

type QueryProviderRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryProviderRequest) Descriptor

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

func (*QueryProviderRequest) Marshal

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

func (*QueryProviderRequest) MarshalTo

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

func (*QueryProviderRequest) MarshalToSizedBuffer

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

func (*QueryProviderRequest) ProtoMessage

func (*QueryProviderRequest) ProtoMessage()

func (*QueryProviderRequest) Reset

func (m *QueryProviderRequest) Reset()

func (*QueryProviderRequest) Size

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

func (*QueryProviderRequest) String

func (m *QueryProviderRequest) String() string

func (*QueryProviderRequest) Unmarshal

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

func (*QueryProviderRequest) XXX_DiscardUnknown

func (m *QueryProviderRequest) XXX_DiscardUnknown()

func (*QueryProviderRequest) XXX_Marshal

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

func (*QueryProviderRequest) XXX_Merge

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

func (*QueryProviderRequest) XXX_Size

func (m *QueryProviderRequest) XXX_Size() int

func (*QueryProviderRequest) XXX_Unmarshal

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

type QueryProviderResponse

type QueryProviderResponse struct {
	Provider Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider"`
}

func (*QueryProviderResponse) Descriptor

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

func (*QueryProviderResponse) Marshal

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

func (*QueryProviderResponse) MarshalTo

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

func (*QueryProviderResponse) MarshalToSizedBuffer

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

func (*QueryProviderResponse) ProtoMessage

func (*QueryProviderResponse) ProtoMessage()

func (*QueryProviderResponse) Reset

func (m *QueryProviderResponse) Reset()

func (*QueryProviderResponse) Size

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

func (*QueryProviderResponse) String

func (m *QueryProviderResponse) String() string

func (*QueryProviderResponse) Unmarshal

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

func (*QueryProviderResponse) XXX_DiscardUnknown

func (m *QueryProviderResponse) XXX_DiscardUnknown()

func (*QueryProviderResponse) XXX_Marshal

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

func (*QueryProviderResponse) XXX_Merge

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

func (*QueryProviderResponse) XXX_Size

func (m *QueryProviderResponse) XXX_Size() int

func (*QueryProviderResponse) XXX_Unmarshal

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

type QueryProvidersRequest

type QueryProvidersRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryProvidersRequest) Descriptor

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

func (*QueryProvidersRequest) Marshal

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

func (*QueryProvidersRequest) MarshalTo

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

func (*QueryProvidersRequest) MarshalToSizedBuffer

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

func (*QueryProvidersRequest) ProtoMessage

func (*QueryProvidersRequest) ProtoMessage()

func (*QueryProvidersRequest) Reset

func (m *QueryProvidersRequest) Reset()

func (*QueryProvidersRequest) Size

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

func (*QueryProvidersRequest) String

func (m *QueryProvidersRequest) String() string

func (*QueryProvidersRequest) Unmarshal

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

func (*QueryProvidersRequest) XXX_DiscardUnknown

func (m *QueryProvidersRequest) XXX_DiscardUnknown()

func (*QueryProvidersRequest) XXX_Marshal

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

func (*QueryProvidersRequest) XXX_Merge

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

func (*QueryProvidersRequest) XXX_Size

func (m *QueryProvidersRequest) XXX_Size() int

func (*QueryProvidersRequest) XXX_Unmarshal

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

type QueryProvidersResponse

type QueryProvidersResponse struct {
	Providers  []Provider          `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryProvidersResponse) Descriptor

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

func (*QueryProvidersResponse) Marshal

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

func (*QueryProvidersResponse) MarshalTo

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

func (*QueryProvidersResponse) MarshalToSizedBuffer

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

func (*QueryProvidersResponse) ProtoMessage

func (*QueryProvidersResponse) ProtoMessage()

func (*QueryProvidersResponse) Reset

func (m *QueryProvidersResponse) Reset()

func (*QueryProvidersResponse) Size

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

func (*QueryProvidersResponse) String

func (m *QueryProvidersResponse) String() string

func (*QueryProvidersResponse) Unmarshal

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

func (*QueryProvidersResponse) XXX_DiscardUnknown

func (m *QueryProvidersResponse) XXX_DiscardUnknown()

func (*QueryProvidersResponse) XXX_Marshal

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

func (*QueryProvidersResponse) XXX_Merge

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

func (*QueryProvidersResponse) XXX_Size

func (m *QueryProvidersResponse) XXX_Size() int

func (*QueryProvidersResponse) XXX_Unmarshal

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

type QueryServiceClient

type QueryServiceClient interface {
	QueryProviders(ctx context.Context, in *QueryProvidersRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error)
	QueryProvider(ctx context.Context, in *QueryProviderRequest, opts ...grpc.CallOption) (*QueryProviderResponse, error)
	QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
}

QueryServiceClient is the client API for QueryService service.

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

func NewQueryServiceClient

func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient

type QueryServiceServer

QueryServiceServer is the server API for QueryService service.

type UnimplementedMsgServiceServer

type UnimplementedMsgServiceServer struct {
}

UnimplementedMsgServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServiceServer) MsgRegister

func (*UnimplementedMsgServiceServer) MsgUpdate

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer struct {
}

UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServiceServer) QueryParams

func (*UnimplementedQueryServiceServer) QueryProvider

func (*UnimplementedQueryServiceServer) QueryProviders

Jump to

Keyboard shortcuts

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