Documentation ¶
Index ¶
- func RegisterKeystoreServer(s *grpc.Server, srv KeystoreServer)
- type GetDatabaseRequest
- func (*GetDatabaseRequest) Descriptor() ([]byte, []int)
- func (m *GetDatabaseRequest) GetPassword() string
- func (m *GetDatabaseRequest) GetUsername() string
- func (*GetDatabaseRequest) ProtoMessage()
- func (m *GetDatabaseRequest) Reset()
- func (m *GetDatabaseRequest) String() string
- func (m *GetDatabaseRequest) XXX_DiscardUnknown()
- func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDatabaseRequest) XXX_Merge(src proto.Message)
- func (m *GetDatabaseRequest) XXX_Size() int
- func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error
- type GetDatabaseResponse
- func (*GetDatabaseResponse) Descriptor() ([]byte, []int)
- func (m *GetDatabaseResponse) GetDbServer() uint32
- func (*GetDatabaseResponse) ProtoMessage()
- func (m *GetDatabaseResponse) Reset()
- func (m *GetDatabaseResponse) String() string
- func (m *GetDatabaseResponse) XXX_DiscardUnknown()
- func (m *GetDatabaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDatabaseResponse) XXX_Merge(src proto.Message)
- func (m *GetDatabaseResponse) XXX_Size() int
- func (m *GetDatabaseResponse) XXX_Unmarshal(b []byte) error
- type KeystoreClient
- type KeystoreServer
- type UnimplementedKeystoreServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterKeystoreServer ¶
func RegisterKeystoreServer(s *grpc.Server, srv KeystoreServer)
Types ¶
type GetDatabaseRequest ¶
type GetDatabaseRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDatabaseRequest) Descriptor ¶
func (*GetDatabaseRequest) Descriptor() ([]byte, []int)
func (*GetDatabaseRequest) GetPassword ¶
func (m *GetDatabaseRequest) GetPassword() string
func (*GetDatabaseRequest) GetUsername ¶
func (m *GetDatabaseRequest) GetUsername() string
func (*GetDatabaseRequest) ProtoMessage ¶
func (*GetDatabaseRequest) ProtoMessage()
func (*GetDatabaseRequest) Reset ¶
func (m *GetDatabaseRequest) Reset()
func (*GetDatabaseRequest) String ¶
func (m *GetDatabaseRequest) String() string
func (*GetDatabaseRequest) XXX_DiscardUnknown ¶
func (m *GetDatabaseRequest) XXX_DiscardUnknown()
func (*GetDatabaseRequest) XXX_Marshal ¶
func (m *GetDatabaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDatabaseRequest) XXX_Merge ¶
func (m *GetDatabaseRequest) XXX_Merge(src proto.Message)
func (*GetDatabaseRequest) XXX_Size ¶
func (m *GetDatabaseRequest) XXX_Size() int
func (*GetDatabaseRequest) XXX_Unmarshal ¶
func (m *GetDatabaseRequest) XXX_Unmarshal(b []byte) error
type GetDatabaseResponse ¶
type GetDatabaseResponse struct { DbServer uint32 `protobuf:"varint,1,opt,name=dbServer,proto3" json:"dbServer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDatabaseResponse) Descriptor ¶
func (*GetDatabaseResponse) Descriptor() ([]byte, []int)
func (*GetDatabaseResponse) GetDbServer ¶
func (m *GetDatabaseResponse) GetDbServer() uint32
func (*GetDatabaseResponse) ProtoMessage ¶
func (*GetDatabaseResponse) ProtoMessage()
func (*GetDatabaseResponse) Reset ¶
func (m *GetDatabaseResponse) Reset()
func (*GetDatabaseResponse) String ¶
func (m *GetDatabaseResponse) String() string
func (*GetDatabaseResponse) XXX_DiscardUnknown ¶
func (m *GetDatabaseResponse) XXX_DiscardUnknown()
func (*GetDatabaseResponse) XXX_Marshal ¶
func (m *GetDatabaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDatabaseResponse) XXX_Merge ¶
func (m *GetDatabaseResponse) XXX_Merge(src proto.Message)
func (*GetDatabaseResponse) XXX_Size ¶
func (m *GetDatabaseResponse) XXX_Size() int
func (*GetDatabaseResponse) XXX_Unmarshal ¶
func (m *GetDatabaseResponse) XXX_Unmarshal(b []byte) error
type KeystoreClient ¶
type KeystoreClient interface {
GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*GetDatabaseResponse, error)
}
KeystoreClient is the client API for Keystore service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeystoreClient ¶
func NewKeystoreClient(cc grpc.ClientConnInterface) KeystoreClient
type KeystoreServer ¶
type KeystoreServer interface {
GetDatabase(context.Context, *GetDatabaseRequest) (*GetDatabaseResponse, error)
}
KeystoreServer is the server API for Keystore service.
type UnimplementedKeystoreServer ¶
type UnimplementedKeystoreServer struct { }
UnimplementedKeystoreServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeystoreServer) GetDatabase ¶
func (*UnimplementedKeystoreServer) GetDatabase(ctx context.Context, req *GetDatabaseRequest) (*GetDatabaseResponse, error)
Click to show internal directories.
Click to hide internal directories.