Documentation ¶
Index ¶
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- type AerospikeAuthRequest
- func (*AerospikeAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AerospikeAuthRequest) GetPassword() string
- func (x *AerospikeAuthRequest) GetUsername() string
- func (*AerospikeAuthRequest) ProtoMessage()
- func (x *AerospikeAuthRequest) ProtoReflect() protoreflect.Message
- func (x *AerospikeAuthRequest) Reset()
- func (x *AerospikeAuthRequest) String() string
- type AerospikeAuthResponse
- func (*AerospikeAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AerospikeAuthResponse) GetToken() string
- func (*AerospikeAuthResponse) ProtoMessage()
- func (x *AerospikeAuthResponse) ProtoReflect() protoreflect.Message
- func (x *AerospikeAuthResponse) Reset()
- func (x *AerospikeAuthResponse) String() string
- type AuthServiceClient
- type AuthServiceServer
- type UnimplementedAuthServiceServer
- type UnsafeAuthServiceServer
Constants ¶
This section is empty.
Variables ¶
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _AuthService_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/auth/aerospike_proxy_auth.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_auth_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
Types ¶
type AerospikeAuthRequest ¶
type AerospikeAuthRequest 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 }
An auth request to get an access token to perform operations on Aerospike database.
func (*AerospikeAuthRequest) Descriptor
deprecated
func (*AerospikeAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AerospikeAuthRequest.ProtoReflect.Descriptor instead.
func (*AerospikeAuthRequest) GetPassword ¶
func (x *AerospikeAuthRequest) GetPassword() string
func (*AerospikeAuthRequest) GetUsername ¶
func (x *AerospikeAuthRequest) GetUsername() string
func (*AerospikeAuthRequest) ProtoMessage ¶
func (*AerospikeAuthRequest) ProtoMessage()
func (*AerospikeAuthRequest) ProtoReflect ¶
func (x *AerospikeAuthRequest) ProtoReflect() protoreflect.Message
func (*AerospikeAuthRequest) Reset ¶
func (x *AerospikeAuthRequest) Reset()
func (*AerospikeAuthRequest) String ¶
func (x *AerospikeAuthRequest) String() string
type AerospikeAuthResponse ¶
type AerospikeAuthResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
An auth token to perform operations on Aerospike database.
func (*AerospikeAuthResponse) Descriptor
deprecated
func (*AerospikeAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use AerospikeAuthResponse.ProtoReflect.Descriptor instead.
func (*AerospikeAuthResponse) GetToken ¶
func (x *AerospikeAuthResponse) GetToken() string
func (*AerospikeAuthResponse) ProtoMessage ¶
func (*AerospikeAuthResponse) ProtoMessage()
func (*AerospikeAuthResponse) ProtoReflect ¶
func (x *AerospikeAuthResponse) ProtoReflect() protoreflect.Message
func (*AerospikeAuthResponse) Reset ¶
func (x *AerospikeAuthResponse) Reset()
func (*AerospikeAuthResponse) String ¶
func (x *AerospikeAuthResponse) String() string
type AuthServiceClient ¶
type AuthServiceClient interface {
Get(ctx context.Context, in *AerospikeAuthRequest, opts ...grpc.CallOption) (*AerospikeAuthResponse, error)
}
AuthServiceClient is the client API for AuthService 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 NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { Get(context.Context, *AerospikeAuthRequest) (*AerospikeAuthResponse, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) Get ¶
func (UnimplementedAuthServiceServer) Get(context.Context, *AerospikeAuthRequest) (*AerospikeAuthResponse, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.