Documentation ¶
Index ¶
- func RegisterIdentityServer(s *grpc.Server, srv IdentityServer)
- type IdentityClient
- type IdentityServer
- type WhoRequest
- func (*WhoRequest) Descriptor() ([]byte, []int)
- func (*WhoRequest) ProtoMessage()
- func (m *WhoRequest) Reset()
- func (m *WhoRequest) String() string
- func (m *WhoRequest) XXX_DiscardUnknown()
- func (m *WhoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WhoRequest) XXX_Merge(src proto.Message)
- func (m *WhoRequest) XXX_Size() int
- func (m *WhoRequest) XXX_Unmarshal(b []byte) error
- type WhoResponse
- func (*WhoResponse) Descriptor() ([]byte, []int)
- func (m *WhoResponse) GetName() string
- func (*WhoResponse) ProtoMessage()
- func (m *WhoResponse) Reset()
- func (m *WhoResponse) String() string
- func (m *WhoResponse) XXX_DiscardUnknown()
- func (m *WhoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WhoResponse) XXX_Merge(src proto.Message)
- func (m *WhoResponse) XXX_Size() int
- func (m *WhoResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterIdentityServer ¶
func RegisterIdentityServer(s *grpc.Server, srv IdentityServer)
Types ¶
type IdentityClient ¶
type IdentityClient interface {
Who(ctx context.Context, in *WhoRequest, opts ...grpc.CallOption) (*WhoResponse, error)
}
IdentityClient is the client API for Identity service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIdentityClient ¶
func NewIdentityClient(cc *grpc.ClientConn) IdentityClient
type IdentityServer ¶
type IdentityServer interface {
Who(context.Context, *WhoRequest) (*WhoResponse, error)
}
IdentityServer is the server API for Identity service.
type WhoRequest ¶
type WhoRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WhoRequest) Descriptor ¶
func (*WhoRequest) Descriptor() ([]byte, []int)
func (*WhoRequest) ProtoMessage ¶
func (*WhoRequest) ProtoMessage()
func (*WhoRequest) Reset ¶
func (m *WhoRequest) Reset()
func (*WhoRequest) String ¶
func (m *WhoRequest) String() string
func (*WhoRequest) XXX_DiscardUnknown ¶
func (m *WhoRequest) XXX_DiscardUnknown()
func (*WhoRequest) XXX_Marshal ¶
func (m *WhoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhoRequest) XXX_Merge ¶
func (dst *WhoRequest) XXX_Merge(src proto.Message)
func (*WhoRequest) XXX_Size ¶
func (m *WhoRequest) XXX_Size() int
func (*WhoRequest) XXX_Unmarshal ¶
func (m *WhoRequest) XXX_Unmarshal(b []byte) error
type WhoResponse ¶
type WhoResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WhoResponse) Descriptor ¶
func (*WhoResponse) Descriptor() ([]byte, []int)
func (*WhoResponse) GetName ¶
func (m *WhoResponse) GetName() string
func (*WhoResponse) ProtoMessage ¶
func (*WhoResponse) ProtoMessage()
func (*WhoResponse) Reset ¶
func (m *WhoResponse) Reset()
func (*WhoResponse) String ¶
func (m *WhoResponse) String() string
func (*WhoResponse) XXX_DiscardUnknown ¶
func (m *WhoResponse) XXX_DiscardUnknown()
func (*WhoResponse) XXX_Marshal ¶
func (m *WhoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhoResponse) XXX_Merge ¶
func (dst *WhoResponse) XXX_Merge(src proto.Message)
func (*WhoResponse) XXX_Size ¶
func (m *WhoResponse) XXX_Size() int
func (*WhoResponse) XXX_Unmarshal ¶
func (m *WhoResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.