galiaslookupproto

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAliasLookupServer

func RegisterAliasLookupServer(s *grpc.Server, srv AliasLookupServer)

Types

type AliasLookupClient

type AliasLookupClient interface {
	Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error)
	PrimaryAlias(ctx context.Context, in *PrimaryAliasRequest, opts ...grpc.CallOption) (*PrimaryAliasResponse, error)
}

AliasLookupClient is the client API for AliasLookup service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AliasLookupServer

type AliasLookupServer interface {
	Lookup(context.Context, *LookupRequest) (*LookupResponse, error)
	PrimaryAlias(context.Context, *PrimaryAliasRequest) (*PrimaryAliasResponse, error)
}

AliasLookupServer is the server API for AliasLookup service.

type LookupRequest

type LookupRequest struct {
	Alias                string   `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupRequest) Descriptor

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

func (*LookupRequest) GetAlias

func (m *LookupRequest) GetAlias() string

func (*LookupRequest) ProtoMessage

func (*LookupRequest) ProtoMessage()

func (*LookupRequest) Reset

func (m *LookupRequest) Reset()

func (*LookupRequest) String

func (m *LookupRequest) String() string

func (*LookupRequest) XXX_DiscardUnknown

func (m *LookupRequest) XXX_DiscardUnknown()

func (*LookupRequest) XXX_Marshal

func (m *LookupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupRequest) XXX_Merge

func (m *LookupRequest) XXX_Merge(src proto.Message)

func (*LookupRequest) XXX_Size

func (m *LookupRequest) XXX_Size() int

func (*LookupRequest) XXX_Unmarshal

func (m *LookupRequest) XXX_Unmarshal(b []byte) error

type LookupResponse

type LookupResponse struct {
	Id                   []byte   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupResponse) Descriptor

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

func (*LookupResponse) GetId

func (m *LookupResponse) GetId() []byte

func (*LookupResponse) ProtoMessage

func (*LookupResponse) ProtoMessage()

func (*LookupResponse) Reset

func (m *LookupResponse) Reset()

func (*LookupResponse) String

func (m *LookupResponse) String() string

func (*LookupResponse) XXX_DiscardUnknown

func (m *LookupResponse) XXX_DiscardUnknown()

func (*LookupResponse) XXX_Marshal

func (m *LookupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupResponse) XXX_Merge

func (m *LookupResponse) XXX_Merge(src proto.Message)

func (*LookupResponse) XXX_Size

func (m *LookupResponse) XXX_Size() int

func (*LookupResponse) XXX_Unmarshal

func (m *LookupResponse) XXX_Unmarshal(b []byte) error

type PrimaryAliasRequest

type PrimaryAliasRequest struct {
	Id                   []byte   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrimaryAliasRequest) Descriptor

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

func (*PrimaryAliasRequest) GetId

func (m *PrimaryAliasRequest) GetId() []byte

func (*PrimaryAliasRequest) ProtoMessage

func (*PrimaryAliasRequest) ProtoMessage()

func (*PrimaryAliasRequest) Reset

func (m *PrimaryAliasRequest) Reset()

func (*PrimaryAliasRequest) String

func (m *PrimaryAliasRequest) String() string

func (*PrimaryAliasRequest) XXX_DiscardUnknown

func (m *PrimaryAliasRequest) XXX_DiscardUnknown()

func (*PrimaryAliasRequest) XXX_Marshal

func (m *PrimaryAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimaryAliasRequest) XXX_Merge

func (m *PrimaryAliasRequest) XXX_Merge(src proto.Message)

func (*PrimaryAliasRequest) XXX_Size

func (m *PrimaryAliasRequest) XXX_Size() int

func (*PrimaryAliasRequest) XXX_Unmarshal

func (m *PrimaryAliasRequest) XXX_Unmarshal(b []byte) error

type PrimaryAliasResponse

type PrimaryAliasResponse struct {
	Alias                string   `protobuf:"bytes,1,opt,name=alias,proto3" json:"alias,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrimaryAliasResponse) Descriptor

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

func (*PrimaryAliasResponse) GetAlias

func (m *PrimaryAliasResponse) GetAlias() string

func (*PrimaryAliasResponse) ProtoMessage

func (*PrimaryAliasResponse) ProtoMessage()

func (*PrimaryAliasResponse) Reset

func (m *PrimaryAliasResponse) Reset()

func (*PrimaryAliasResponse) String

func (m *PrimaryAliasResponse) String() string

func (*PrimaryAliasResponse) XXX_DiscardUnknown

func (m *PrimaryAliasResponse) XXX_DiscardUnknown()

func (*PrimaryAliasResponse) XXX_Marshal

func (m *PrimaryAliasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrimaryAliasResponse) XXX_Merge

func (m *PrimaryAliasResponse) XXX_Merge(src proto.Message)

func (*PrimaryAliasResponse) XXX_Size

func (m *PrimaryAliasResponse) XXX_Size() int

func (*PrimaryAliasResponse) XXX_Unmarshal

func (m *PrimaryAliasResponse) XXX_Unmarshal(b []byte) error

type UnimplementedAliasLookupServer

type UnimplementedAliasLookupServer struct {
}

UnimplementedAliasLookupServer can be embedded to have forward compatible implementations.

func (*UnimplementedAliasLookupServer) Lookup

func (*UnimplementedAliasLookupServer) PrimaryAlias

Jump to

Keyboard shortcuts

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