Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GetGasPriceRequestdeprecated
- type GetGasPriceResponsedeprecated
- func (*GetGasPriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGasPriceResponse) GetGasPrices() []*v1beta1.Coin
- func (*GetGasPriceResponse) ProtoMessage()
- func (x *GetGasPriceResponse) ProtoReflect() protoreflect.Message
- func (x *GetGasPriceResponse) Reset()
- func (x *GetGasPriceResponse) String() string
- type QueryClient
- type QueryServer
- type UnimplementedQueryServer
- type UnsafeQueryServer
Constants ¶
const (
Query_GetGasPrice_FullMethodName = "/fx.base.v1.Query/GetGasPrice"
)
Variables ¶
var File_fx_base_v1_legacy_proto protoreflect.FileDescriptor
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fx.base.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetGasPrice", Handler: _Query_GetGasPrice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fx/base/v1/legacy.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type GetGasPriceRequest
deprecated
type GetGasPriceRequest struct {
// contains filtered or unexported fields
}
Deprecated: after upgrade v4
func (*GetGasPriceRequest) Descriptor
deprecated
func (*GetGasPriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGasPriceRequest.ProtoReflect.Descriptor instead.
func (*GetGasPriceRequest) ProtoMessage ¶
func (*GetGasPriceRequest) ProtoMessage()
func (*GetGasPriceRequest) ProtoReflect ¶
func (x *GetGasPriceRequest) ProtoReflect() protoreflect.Message
func (*GetGasPriceRequest) Reset ¶
func (x *GetGasPriceRequest) Reset()
func (*GetGasPriceRequest) String ¶
func (x *GetGasPriceRequest) String() string
type GetGasPriceResponse
deprecated
type GetGasPriceResponse struct { GasPrices []*v1beta1.Coin `protobuf:"bytes,1,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"` // contains filtered or unexported fields }
Deprecated: after upgrade v4
func (*GetGasPriceResponse) Descriptor
deprecated
func (*GetGasPriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGasPriceResponse.ProtoReflect.Descriptor instead.
func (*GetGasPriceResponse) GetGasPrices ¶
func (x *GetGasPriceResponse) GetGasPrices() []*v1beta1.Coin
func (*GetGasPriceResponse) ProtoMessage ¶
func (*GetGasPriceResponse) ProtoMessage()
func (*GetGasPriceResponse) ProtoReflect ¶
func (x *GetGasPriceResponse) ProtoReflect() protoreflect.Message
func (*GetGasPriceResponse) Reset ¶
func (x *GetGasPriceResponse) Reset()
func (*GetGasPriceResponse) String ¶
func (x *GetGasPriceResponse) String() string
type QueryClient ¶
type QueryClient interface { // Deprecated: please use cosmos.base.node.v1beta1.Service.Config GetGasPrice(ctx context.Context, in *GetGasPriceRequest, opts ...grpc.CallOption) (*GetGasPriceResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryServer ¶
type QueryServer interface { // Deprecated: please use cosmos.base.node.v1beta1.Service.Config GetGasPrice(context.Context, *GetGasPriceRequest) (*GetGasPriceResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) GetGasPrice ¶
func (UnimplementedQueryServer) GetGasPrice(context.Context, *GetGasPriceRequest) (*GetGasPriceResponse, error)
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.