Versions in this module Expand all Collapse all v6 v6.0.0 Dec 25, 2023 Changes in this version + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + func ConvertBech32Prefix(address, prefix string) (string, error) + func RegisterGRPCGatewayRoutes(clientConn grpc.ClientConn, mux *runtime.ServeMux) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type ConvertAddressRequest struct + Address string + Prefix string + func (*ConvertAddressRequest) Descriptor() ([]byte, []int) + func (*ConvertAddressRequest) ProtoMessage() + func (m *ConvertAddressRequest) GetAddress() string + func (m *ConvertAddressRequest) GetPrefix() string + func (m *ConvertAddressRequest) Marshal() (dAtA []byte, err error) + func (m *ConvertAddressRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ConvertAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ConvertAddressRequest) Reset() + func (m *ConvertAddressRequest) Size() (n int) + func (m *ConvertAddressRequest) String() string + func (m *ConvertAddressRequest) Unmarshal(dAtA []byte) error + func (m *ConvertAddressRequest) XXX_DiscardUnknown() + func (m *ConvertAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConvertAddressRequest) XXX_Merge(src proto.Message) + func (m *ConvertAddressRequest) XXX_Size() int + func (m *ConvertAddressRequest) XXX_Unmarshal(b []byte) error + type ConvertAddressResponse struct + Address string + func (*ConvertAddressResponse) Descriptor() ([]byte, []int) + func (*ConvertAddressResponse) ProtoMessage() + func (m *ConvertAddressResponse) GetAddress() string + func (m *ConvertAddressResponse) Marshal() (dAtA []byte, err error) + func (m *ConvertAddressResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ConvertAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ConvertAddressResponse) Reset() + func (m *ConvertAddressResponse) Size() (n int) + func (m *ConvertAddressResponse) String() string + func (m *ConvertAddressResponse) Unmarshal(dAtA []byte) error + func (m *ConvertAddressResponse) XXX_DiscardUnknown() + func (m *ConvertAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConvertAddressResponse) XXX_Merge(src proto.Message) + func (m *ConvertAddressResponse) XXX_Size() int + func (m *ConvertAddressResponse) XXX_Unmarshal(b []byte) error + type Querier struct + func (Querier) ConvertAddress(_ context.Context, req *ConvertAddressRequest) (*ConvertAddressResponse, error) + type QueryClient interface + ConvertAddress func(ctx context.Context, in *ConvertAddressRequest, opts ...grpc.CallOption) (*ConvertAddressResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + ConvertAddress func(context.Context, *ConvertAddressRequest) (*ConvertAddressResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) ConvertAddress(ctx context.Context, req *ConvertAddressRequest) (*ConvertAddressResponse, error) v6.0.0-rc0 Dec 6, 2023 Other modules containing this package github.com/functionx/fx-core/v4 github.com/functionx/fx-core/v5 github.com/functionx/fx-core/v7