Documentation ¶
Overview ¶
Package bankldap is a generated protocol buffer package.
It is generated from these files:
bankldap.proto
It has these top-level messages:
Credentials Authenticated User Email UserSummary Health Empty
Index ¶
- func RegisterBankLdapServer(s *grpc.Server, srv BankLdapServer)
- type Authenticated
- type BankLdapClient
- type BankLdapServer
- type Credentials
- type Email
- type Empty
- type Health
- type User
- type UserSummary
- func (*UserSummary) Descriptor() ([]byte, []int)
- func (m *UserSummary) GetDisplayName() string
- func (m *UserSummary) GetEmail() string
- func (m *UserSummary) GetFirstName() string
- func (m *UserSummary) GetLastName() string
- func (m *UserSummary) GetUsername() string
- func (*UserSummary) ProtoMessage()
- func (m *UserSummary) Reset()
- func (m *UserSummary) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBankLdapServer ¶
func RegisterBankLdapServer(s *grpc.Server, srv BankLdapServer)
Types ¶
type Authenticated ¶
type Authenticated struct {
Authenticated bool `protobuf:"varint,1,opt,name=authenticated" json:"authenticated,omitempty"`
}
func (*Authenticated) Descriptor ¶
func (*Authenticated) Descriptor() ([]byte, []int)
func (*Authenticated) GetAuthenticated ¶
func (m *Authenticated) GetAuthenticated() bool
func (*Authenticated) ProtoMessage ¶
func (*Authenticated) ProtoMessage()
func (*Authenticated) Reset ¶
func (m *Authenticated) Reset()
func (*Authenticated) String ¶
func (m *Authenticated) String() string
type BankLdapClient ¶
type BankLdapClient interface { Authenticate(ctx context.Context, in *Credentials, opts ...grpc.CallOption) (*Authenticated, error) Lookup(ctx context.Context, in *User, opts ...grpc.CallOption) (*UserSummary, error) Anumber(ctx context.Context, in *Email, opts ...grpc.CallOption) (*User, error) Status(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Health, error) Ping(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
func NewBankLdapClient ¶
func NewBankLdapClient(cc *grpc.ClientConn) BankLdapClient
type BankLdapServer ¶
type Credentials ¶
type Credentials struct { Anumber string `protobuf:"bytes,1,opt,name=anumber" json:"anumber,omitempty"` Password string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"` }
func (*Credentials) Descriptor ¶
func (*Credentials) Descriptor() ([]byte, []int)
func (*Credentials) GetAnumber ¶
func (m *Credentials) GetAnumber() string
func (*Credentials) GetPassword ¶
func (m *Credentials) GetPassword() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) Reset ¶
func (m *Credentials) Reset()
func (*Credentials) String ¶
func (m *Credentials) String() string
type Email ¶
type Email struct {
Email string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
}
func (*Email) Descriptor ¶
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type Health ¶
type Health struct {
Status string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}
func (*Health) Descriptor ¶
func (*Health) ProtoMessage ¶
func (*Health) ProtoMessage()
type User ¶
type User struct {
Anumber string `protobuf:"bytes,1,opt,name=anumber" json:"anumber,omitempty"`
}
func (*User) Descriptor ¶
func (*User) GetAnumber ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
type UserSummary ¶
type UserSummary struct { Username string `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName" json:"first_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName" json:"last_name,omitempty"` Email string `protobuf:"bytes,5,opt,name=email" json:"email,omitempty"` }
func (*UserSummary) Descriptor ¶
func (*UserSummary) Descriptor() ([]byte, []int)
func (*UserSummary) GetDisplayName ¶
func (m *UserSummary) GetDisplayName() string
func (*UserSummary) GetEmail ¶
func (m *UserSummary) GetEmail() string
func (*UserSummary) GetFirstName ¶
func (m *UserSummary) GetFirstName() string
func (*UserSummary) GetLastName ¶
func (m *UserSummary) GetLastName() string
func (*UserSummary) GetUsername ¶
func (m *UserSummary) GetUsername() string
func (*UserSummary) ProtoMessage ¶
func (*UserSummary) ProtoMessage()
func (*UserSummary) Reset ¶
func (m *UserSummary) Reset()
func (*UserSummary) String ¶
func (m *UserSummary) String() string
Click to show internal directories.
Click to hide internal directories.