allychainlookup

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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.

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

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.

Jump to

Keyboard shortcuts

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