Documentation ¶
Index ¶
- Variables
- func RegisterKeystoreServer(s grpc.ServiceRegistrar, srv KeystoreServer)
- type GetDatabaseRequest
- func (*GetDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseRequest) GetPassword() string
- func (x *GetDatabaseRequest) GetUsername() string
- func (*GetDatabaseRequest) ProtoMessage()
- func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseRequest) Reset()
- func (x *GetDatabaseRequest) String() string
- type GetDatabaseResponse
- func (*GetDatabaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseResponse) GetDbServer() uint32
- func (*GetDatabaseResponse) ProtoMessage()
- func (x *GetDatabaseResponse) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseResponse) Reset()
- func (x *GetDatabaseResponse) String() string
- type KeystoreClient
- type KeystoreServer
- type UnimplementedKeystoreServer
- type UnsafeKeystoreServer
Constants ¶
This section is empty.
Variables ¶
var File_gkeystore_proto protoreflect.FileDescriptor
var Keystore_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gkeystoreproto.Keystore", HandlerType: (*KeystoreServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDatabase", Handler: _Keystore_GetDatabase_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gkeystore.proto", }
Keystore_ServiceDesc is the grpc.ServiceDesc for Keystore service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterKeystoreServer ¶
func RegisterKeystoreServer(s grpc.ServiceRegistrar, 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"` // contains filtered or unexported fields }
func (*GetDatabaseRequest) Descriptor
deprecated
func (*GetDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.
func (*GetDatabaseRequest) GetPassword ¶
func (x *GetDatabaseRequest) GetPassword() string
func (*GetDatabaseRequest) GetUsername ¶
func (x *GetDatabaseRequest) GetUsername() string
func (*GetDatabaseRequest) ProtoMessage ¶
func (*GetDatabaseRequest) ProtoMessage()
func (*GetDatabaseRequest) ProtoReflect ¶
func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
func (*GetDatabaseRequest) Reset ¶
func (x *GetDatabaseRequest) Reset()
func (*GetDatabaseRequest) String ¶
func (x *GetDatabaseRequest) String() string
type GetDatabaseResponse ¶
type GetDatabaseResponse struct { DbServer uint32 `protobuf:"varint,1,opt,name=dbServer,proto3" json:"dbServer,omitempty"` // contains filtered or unexported fields }
func (*GetDatabaseResponse) Descriptor
deprecated
func (*GetDatabaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseResponse.ProtoReflect.Descriptor instead.
func (*GetDatabaseResponse) GetDbServer ¶
func (x *GetDatabaseResponse) GetDbServer() uint32
func (*GetDatabaseResponse) ProtoMessage ¶
func (*GetDatabaseResponse) ProtoMessage()
func (*GetDatabaseResponse) ProtoReflect ¶
func (x *GetDatabaseResponse) ProtoReflect() protoreflect.Message
func (*GetDatabaseResponse) Reset ¶
func (x *GetDatabaseResponse) Reset()
func (*GetDatabaseResponse) String ¶
func (x *GetDatabaseResponse) String() string
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewKeystoreClient ¶
func NewKeystoreClient(cc grpc.ClientConnInterface) KeystoreClient
type KeystoreServer ¶
type KeystoreServer interface { GetDatabase(context.Context, *GetDatabaseRequest) (*GetDatabaseResponse, error) // contains filtered or unexported methods }
KeystoreServer is the server API for Keystore service. All implementations must embed UnimplementedKeystoreServer for forward compatibility
type UnimplementedKeystoreServer ¶
type UnimplementedKeystoreServer struct { }
UnimplementedKeystoreServer must be embedded to have forward compatible implementations.
func (UnimplementedKeystoreServer) GetDatabase ¶
func (UnimplementedKeystoreServer) GetDatabase(context.Context, *GetDatabaseRequest) (*GetDatabaseResponse, error)
type UnsafeKeystoreServer ¶
type UnsafeKeystoreServer interface {
// contains filtered or unexported methods
}
UnsafeKeystoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeystoreServer will result in compilation errors.