Documentation ¶
Index ¶
- func RegisterAliasLookupServer(s *grpc.Server, srv AliasLookupServer)
- type AliasLookupClient
- type AliasLookupServer
- type LookupRequest
- func (*LookupRequest) Descriptor() ([]byte, []int)
- func (m *LookupRequest) GetAlias() string
- func (*LookupRequest) ProtoMessage()
- func (m *LookupRequest) Reset()
- func (m *LookupRequest) String() string
- func (m *LookupRequest) XXX_DiscardUnknown()
- func (m *LookupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LookupRequest) XXX_Merge(src proto.Message)
- func (m *LookupRequest) XXX_Size() int
- func (m *LookupRequest) XXX_Unmarshal(b []byte) error
- type LookupResponse
- func (*LookupResponse) Descriptor() ([]byte, []int)
- func (m *LookupResponse) GetId() []byte
- func (*LookupResponse) ProtoMessage()
- func (m *LookupResponse) Reset()
- func (m *LookupResponse) String() string
- func (m *LookupResponse) XXX_DiscardUnknown()
- func (m *LookupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LookupResponse) XXX_Merge(src proto.Message)
- func (m *LookupResponse) XXX_Size() int
- func (m *LookupResponse) XXX_Unmarshal(b []byte) error
- type PrimaryAliasRequest
- func (*PrimaryAliasRequest) Descriptor() ([]byte, []int)
- func (m *PrimaryAliasRequest) GetId() []byte
- func (*PrimaryAliasRequest) ProtoMessage()
- func (m *PrimaryAliasRequest) Reset()
- func (m *PrimaryAliasRequest) String() string
- func (m *PrimaryAliasRequest) XXX_DiscardUnknown()
- func (m *PrimaryAliasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrimaryAliasRequest) XXX_Merge(src proto.Message)
- func (m *PrimaryAliasRequest) XXX_Size() int
- func (m *PrimaryAliasRequest) XXX_Unmarshal(b []byte) error
- type PrimaryAliasResponse
- func (*PrimaryAliasResponse) Descriptor() ([]byte, []int)
- func (m *PrimaryAliasResponse) GetAlias() string
- func (*PrimaryAliasResponse) ProtoMessage()
- func (m *PrimaryAliasResponse) Reset()
- func (m *PrimaryAliasResponse) String() string
- func (m *PrimaryAliasResponse) XXX_DiscardUnknown()
- func (m *PrimaryAliasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PrimaryAliasResponse) XXX_Merge(src proto.Message)
- func (m *PrimaryAliasResponse) XXX_Size() int
- func (m *PrimaryAliasResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedAliasLookupServer
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.
func NewAliasLookupClient ¶
func NewAliasLookupClient(cc grpc.ClientConnInterface) AliasLookupClient
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) Lookup(ctx context.Context, req *LookupRequest) (*LookupResponse, error)
func (*UnimplementedAliasLookupServer) PrimaryAlias ¶
func (*UnimplementedAliasLookupServer) PrimaryAlias(ctx context.Context, req *PrimaryAliasRequest) (*PrimaryAliasResponse, error)
Click to show internal directories.
Click to hide internal directories.