Documentation ¶
Index ¶
- Variables
- func RegisterIdmServer(s *grpc.Server, srv IdmServer)
- type Identity
- func (*Identity) Descriptor() ([]byte, []int)
- func (this *Identity) Equal(that interface{}) bool
- func (m *Identity) GetCertId() string
- func (m *Identity) GetId() string
- func (m *Identity) GetName() string
- func (this *Identity) GoString() string
- func (m *Identity) Marshal() (dAtA []byte, err error)
- func (m *Identity) MarshalTo(dAtA []byte) (int, error)
- func (m *Identity) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Identity) ProtoMessage()
- func (m *Identity) Reset()
- func (m *Identity) Size() (n int)
- func (this *Identity) String() string
- func (m *Identity) Unmarshal(dAtA []byte) error
- func (m *Identity) XXX_DiscardUnknown()
- func (m *Identity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Identity) XXX_Merge(src proto.Message)
- func (m *Identity) XXX_Size() int
- func (m *Identity) XXX_Unmarshal(b []byte) error
- type IdmClient
- type IdmServer
- type UnimplementedIdmServer
- type UserIdentityReply
- func (*UserIdentityReply) Descriptor() ([]byte, []int)
- func (this *UserIdentityReply) Equal(that interface{}) bool
- func (m *UserIdentityReply) GetIdentity() *Identity
- func (this *UserIdentityReply) GoString() string
- func (m *UserIdentityReply) Marshal() (dAtA []byte, err error)
- func (m *UserIdentityReply) MarshalTo(dAtA []byte) (int, error)
- func (m *UserIdentityReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserIdentityReply) ProtoMessage()
- func (m *UserIdentityReply) Reset()
- func (m *UserIdentityReply) Size() (n int)
- func (this *UserIdentityReply) String() string
- func (m *UserIdentityReply) Unmarshal(dAtA []byte) error
- func (m *UserIdentityReply) XXX_DiscardUnknown()
- func (m *UserIdentityReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserIdentityReply) XXX_Merge(src proto.Message)
- func (m *UserIdentityReply) XXX_Size() int
- func (m *UserIdentityReply) XXX_Unmarshal(b []byte) error
- type UserIdentityRequest
- func (*UserIdentityRequest) Descriptor() ([]byte, []int)
- func (this *UserIdentityRequest) Equal(that interface{}) bool
- func (m *UserIdentityRequest) GetId() string
- func (this *UserIdentityRequest) GoString() string
- func (m *UserIdentityRequest) Marshal() (dAtA []byte, err error)
- func (m *UserIdentityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UserIdentityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserIdentityRequest) ProtoMessage()
- func (m *UserIdentityRequest) Reset()
- func (m *UserIdentityRequest) Size() (n int)
- func (this *UserIdentityRequest) String() string
- func (m *UserIdentityRequest) Unmarshal(dAtA []byte) error
- func (m *UserIdentityRequest) XXX_DiscardUnknown()
- func (m *UserIdentityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserIdentityRequest) XXX_Merge(src proto.Message)
- func (m *UserIdentityRequest) XXX_Size() int
- func (m *UserIdentityRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterIdmServer ¶
Types ¶
type Identity ¶
type Identity struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CertId string `protobuf:"bytes,3,opt,name=cert_id,json=certId,proto3" json:"cert_id,omitempty"` }
group is a collection of multiple members.
func (*Identity) Descriptor ¶
func (*Identity) MarshalToSizedBuffer ¶
func (*Identity) ProtoMessage ¶
func (*Identity) ProtoMessage()
func (*Identity) XXX_DiscardUnknown ¶
func (m *Identity) XXX_DiscardUnknown()
func (*Identity) XXX_Marshal ¶
func (*Identity) XXX_Unmarshal ¶
type IdmClient ¶
type IdmClient interface { // get user identity UserIdentity(ctx context.Context, in *UserIdentityRequest, opts ...grpc.CallOption) (*UserIdentityReply, error) }
IdmClient is the client API for Idm service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIdmClient ¶
func NewIdmClient(cc *grpc.ClientConn) IdmClient
type IdmServer ¶
type IdmServer interface { // get user identity UserIdentity(context.Context, *UserIdentityRequest) (*UserIdentityReply, error) }
IdmServer is the server API for Idm service.
type UnimplementedIdmServer ¶
type UnimplementedIdmServer struct { }
UnimplementedIdmServer can be embedded to have forward compatible implementations.
func (*UnimplementedIdmServer) UserIdentity ¶
func (*UnimplementedIdmServer) UserIdentity(ctx context.Context, req *UserIdentityRequest) (*UserIdentityReply, error)
type UserIdentityReply ¶
type UserIdentityReply struct {
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
}
The response message containing user's identity
func (*UserIdentityReply) Descriptor ¶
func (*UserIdentityReply) Descriptor() ([]byte, []int)
func (*UserIdentityReply) Equal ¶
func (this *UserIdentityReply) Equal(that interface{}) bool
func (*UserIdentityReply) GetIdentity ¶
func (m *UserIdentityReply) GetIdentity() *Identity
func (*UserIdentityReply) GoString ¶
func (this *UserIdentityReply) GoString() string
func (*UserIdentityReply) Marshal ¶
func (m *UserIdentityReply) Marshal() (dAtA []byte, err error)
func (*UserIdentityReply) MarshalTo ¶
func (m *UserIdentityReply) MarshalTo(dAtA []byte) (int, error)
func (*UserIdentityReply) MarshalToSizedBuffer ¶
func (m *UserIdentityReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserIdentityReply) ProtoMessage ¶
func (*UserIdentityReply) ProtoMessage()
func (*UserIdentityReply) Reset ¶
func (m *UserIdentityReply) Reset()
func (*UserIdentityReply) Size ¶
func (m *UserIdentityReply) Size() (n int)
func (*UserIdentityReply) String ¶
func (this *UserIdentityReply) String() string
func (*UserIdentityReply) Unmarshal ¶
func (m *UserIdentityReply) Unmarshal(dAtA []byte) error
func (*UserIdentityReply) XXX_DiscardUnknown ¶
func (m *UserIdentityReply) XXX_DiscardUnknown()
func (*UserIdentityReply) XXX_Marshal ¶
func (m *UserIdentityReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserIdentityReply) XXX_Merge ¶
func (m *UserIdentityReply) XXX_Merge(src proto.Message)
func (*UserIdentityReply) XXX_Size ¶
func (m *UserIdentityReply) XXX_Size() int
func (*UserIdentityReply) XXX_Unmarshal ¶
func (m *UserIdentityReply) XXX_Unmarshal(b []byte) error
type UserIdentityRequest ¶
type UserIdentityRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
The request message containing the user's id.
func (*UserIdentityRequest) Descriptor ¶
func (*UserIdentityRequest) Descriptor() ([]byte, []int)
func (*UserIdentityRequest) Equal ¶
func (this *UserIdentityRequest) Equal(that interface{}) bool
func (*UserIdentityRequest) GetId ¶
func (m *UserIdentityRequest) GetId() string
func (*UserIdentityRequest) GoString ¶
func (this *UserIdentityRequest) GoString() string
func (*UserIdentityRequest) Marshal ¶
func (m *UserIdentityRequest) Marshal() (dAtA []byte, err error)
func (*UserIdentityRequest) MarshalTo ¶
func (m *UserIdentityRequest) MarshalTo(dAtA []byte) (int, error)
func (*UserIdentityRequest) MarshalToSizedBuffer ¶
func (m *UserIdentityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserIdentityRequest) ProtoMessage ¶
func (*UserIdentityRequest) ProtoMessage()
func (*UserIdentityRequest) Reset ¶
func (m *UserIdentityRequest) Reset()
func (*UserIdentityRequest) Size ¶
func (m *UserIdentityRequest) Size() (n int)
func (*UserIdentityRequest) String ¶
func (this *UserIdentityRequest) String() string
func (*UserIdentityRequest) Unmarshal ¶
func (m *UserIdentityRequest) Unmarshal(dAtA []byte) error
func (*UserIdentityRequest) XXX_DiscardUnknown ¶
func (m *UserIdentityRequest) XXX_DiscardUnknown()
func (*UserIdentityRequest) XXX_Marshal ¶
func (m *UserIdentityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserIdentityRequest) XXX_Merge ¶
func (m *UserIdentityRequest) XXX_Merge(src proto.Message)
func (*UserIdentityRequest) XXX_Size ¶
func (m *UserIdentityRequest) XXX_Size() int
func (*UserIdentityRequest) XXX_Unmarshal ¶
func (m *UserIdentityRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.