other

package
v8.3.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_FxGasPrice_FullMethodName = "/fx.other.Query/FxGasPrice"
	Query_GasPrice_FullMethodName   = "/fx.other.Query/GasPrice"
)

Variables

View Source
var File_fx_other_legacy_proto protoreflect.FileDescriptor
View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "fx.other.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FxGasPrice",
			Handler:    _Query_FxGasPrice_Handler,
		},
		{
			MethodName: "GasPrice",
			Handler:    _Query_GasPrice_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fx/other/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 GasPriceRequest deprecated

type GasPriceRequest struct {
	// contains filtered or unexported fields
}

Deprecated: GasPriceRequest

func (*GasPriceRequest) Descriptor deprecated

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

Deprecated: Use GasPriceRequest.ProtoReflect.Descriptor instead.

func (*GasPriceRequest) ProtoMessage

func (*GasPriceRequest) ProtoMessage()

func (*GasPriceRequest) ProtoReflect

func (x *GasPriceRequest) ProtoReflect() protoreflect.Message

func (*GasPriceRequest) Reset

func (x *GasPriceRequest) Reset()

func (*GasPriceRequest) String

func (x *GasPriceRequest) String() string

type GasPriceResponse deprecated

type GasPriceResponse struct {
	GasPrices []*v1beta1.Coin `protobuf:"bytes,1,rep,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: GasPriceResponse

func (*GasPriceResponse) Descriptor deprecated

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

Deprecated: Use GasPriceResponse.ProtoReflect.Descriptor instead.

func (*GasPriceResponse) GetGasPrices

func (x *GasPriceResponse) GetGasPrices() []*v1beta1.Coin

func (*GasPriceResponse) ProtoMessage

func (*GasPriceResponse) ProtoMessage()

func (*GasPriceResponse) ProtoReflect

func (x *GasPriceResponse) ProtoReflect() protoreflect.Message

func (*GasPriceResponse) Reset

func (x *GasPriceResponse) Reset()

func (*GasPriceResponse) String

func (x *GasPriceResponse) String() string

type QueryClient

type QueryClient interface {
	// Deprecated: please use cosmos.base.node.v1beta1.Service.Config
	FxGasPrice(ctx context.Context, in *GasPriceRequest, opts ...grpc.CallOption) (*GasPriceResponse, error)
	// Deprecated: please use cosmos.base.node.v1beta1.Service.Config
	GasPrice(ctx context.Context, in *GasPriceRequest, opts ...grpc.CallOption) (*GasPriceResponse, 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
	FxGasPrice(context.Context, *GasPriceRequest) (*GasPriceResponse, error)
	// Deprecated: please use cosmos.base.node.v1beta1.Service.Config
	GasPrice(context.Context, *GasPriceRequest) (*GasPriceResponse, 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) FxGasPrice

func (UnimplementedQueryServer) GasPrice

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.

Jump to

Keyboard shortcuts

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