Documentation ¶
Index ¶
- Variables
- func RegisterAllychainLookupServer(s grpc.ServiceRegistrar, srv AllychainLookupServer)
- type AllychainIDRequest
- func (*AllychainIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AllychainIDRequest) GetChainId() []byte
- func (*AllychainIDRequest) ProtoMessage()
- func (x *AllychainIDRequest) ProtoReflect() protoreflect.Message
- func (x *AllychainIDRequest) Reset()
- func (x *AllychainIDRequest) String() string
- type AllychainIDResponse
- func (*AllychainIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AllychainIDResponse) GetId() []byte
- func (*AllychainIDResponse) ProtoMessage()
- func (x *AllychainIDResponse) ProtoReflect() protoreflect.Message
- func (x *AllychainIDResponse) Reset()
- func (x *AllychainIDResponse) String() string
- type AllychainLookupClient
- type AllychainLookupServer
- type UnimplementedAllychainLookupServer
- type UnsafeAllychainLookupServer
Constants ¶
This section is empty.
Variables ¶
var AllychainLookup_ServiceDesc = grpc.ServiceDesc{ ServiceName: "allychainlookup.AllychainLookup", HandlerType: (*AllychainLookupServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AllychainID", Handler: _AllychainLookup_AllychainID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "allychainlookup/allychainlookup.proto", }
AllychainLookup_ServiceDesc is the grpc.ServiceDesc for AllychainLookup service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_allychainlookup_allychainlookup_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAllychainLookupServer ¶
func RegisterAllychainLookupServer(s grpc.ServiceRegistrar, srv AllychainLookupServer)
Types ¶
type AllychainIDRequest ¶
type AllychainIDRequest struct { ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
func (*AllychainIDRequest) Descriptor
deprecated
func (*AllychainIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use AllychainIDRequest.ProtoReflect.Descriptor instead.
func (*AllychainIDRequest) GetChainId ¶
func (x *AllychainIDRequest) GetChainId() []byte
func (*AllychainIDRequest) ProtoMessage ¶
func (*AllychainIDRequest) ProtoMessage()
func (*AllychainIDRequest) ProtoReflect ¶
func (x *AllychainIDRequest) ProtoReflect() protoreflect.Message
func (*AllychainIDRequest) Reset ¶
func (x *AllychainIDRequest) Reset()
func (*AllychainIDRequest) String ¶
func (x *AllychainIDRequest) String() string
type AllychainIDResponse ¶
type AllychainIDResponse struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*AllychainIDResponse) Descriptor
deprecated
func (*AllychainIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use AllychainIDResponse.ProtoReflect.Descriptor instead.
func (*AllychainIDResponse) GetId ¶
func (x *AllychainIDResponse) GetId() []byte
func (*AllychainIDResponse) ProtoMessage ¶
func (*AllychainIDResponse) ProtoMessage()
func (*AllychainIDResponse) ProtoReflect ¶
func (x *AllychainIDResponse) ProtoReflect() protoreflect.Message
func (*AllychainIDResponse) Reset ¶
func (x *AllychainIDResponse) Reset()
func (*AllychainIDResponse) String ¶
func (x *AllychainIDResponse) String() string
type AllychainLookupClient ¶
type AllychainLookupClient interface {
AllychainID(ctx context.Context, in *AllychainIDRequest, opts ...grpc.CallOption) (*AllychainIDResponse, error)
}
AllychainLookupClient is the client API for AllychainLookup 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 NewAllychainLookupClient ¶
func NewAllychainLookupClient(cc grpc.ClientConnInterface) AllychainLookupClient
type AllychainLookupServer ¶
type AllychainLookupServer interface { AllychainID(context.Context, *AllychainIDRequest) (*AllychainIDResponse, error) // contains filtered or unexported methods }
AllychainLookupServer is the server API for AllychainLookup service. All implementations must embed UnimplementedAllychainLookupServer for forward compatibility
type UnimplementedAllychainLookupServer ¶
type UnimplementedAllychainLookupServer struct { }
UnimplementedAllychainLookupServer must be embedded to have forward compatible implementations.
func (UnimplementedAllychainLookupServer) AllychainID ¶
func (UnimplementedAllychainLookupServer) AllychainID(context.Context, *AllychainIDRequest) (*AllychainIDResponse, error)
type UnsafeAllychainLookupServer ¶
type UnsafeAllychainLookupServer interface {
// contains filtered or unexported methods
}
UnsafeAllychainLookupServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AllychainLookupServer will result in compilation errors.