auth

package
v0.0.0-...-6c8972c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterLoginServiceServer

func RegisterLoginServiceServer(s *grpc.Server, srv LoginServiceServer)

Types

type Login

type Login struct {
	Email                string   `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,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 (*Login) Descriptor

func (*Login) Descriptor() ([]byte, []int)

func (*Login) GetEmail

func (m *Login) GetEmail() string

func (*Login) GetPassword

func (m *Login) GetPassword() string

func (*Login) ProtoMessage

func (*Login) ProtoMessage()

func (*Login) Reset

func (m *Login) Reset()

func (*Login) String

func (m *Login) String() string

func (*Login) XXX_DiscardUnknown

func (m *Login) XXX_DiscardUnknown()

func (*Login) XXX_Marshal

func (m *Login) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Login) XXX_Merge

func (m *Login) XXX_Merge(src proto.Message)

func (*Login) XXX_Size

func (m *Login) XXX_Size() int

func (*Login) XXX_Unmarshal

func (m *Login) XXX_Unmarshal(b []byte) error

type LoginRequest

type LoginRequest struct {
	Login                *Login   `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoginRequest) Descriptor

func (*LoginRequest) Descriptor() ([]byte, []int)

func (*LoginRequest) GetLogin

func (m *LoginRequest) GetLogin() *Login

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) Reset

func (m *LoginRequest) Reset()

func (*LoginRequest) String

func (m *LoginRequest) String() string

func (*LoginRequest) XXX_DiscardUnknown

func (m *LoginRequest) XXX_DiscardUnknown()

func (*LoginRequest) XXX_Marshal

func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginRequest) XXX_Merge

func (m *LoginRequest) XXX_Merge(src proto.Message)

func (*LoginRequest) XXX_Size

func (m *LoginRequest) XXX_Size() int

func (*LoginRequest) XXX_Unmarshal

func (m *LoginRequest) XXX_Unmarshal(b []byte) error

type LoginResponse

type LoginResponse struct {
	ID                   string   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoginResponse) Descriptor

func (*LoginResponse) Descriptor() ([]byte, []int)

func (*LoginResponse) GetID

func (m *LoginResponse) GetID() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) Reset

func (m *LoginResponse) Reset()

func (*LoginResponse) String

func (m *LoginResponse) String() string

func (*LoginResponse) XXX_DiscardUnknown

func (m *LoginResponse) XXX_DiscardUnknown()

func (*LoginResponse) XXX_Marshal

func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginResponse) XXX_Merge

func (m *LoginResponse) XXX_Merge(src proto.Message)

func (*LoginResponse) XXX_Size

func (m *LoginResponse) XXX_Size() int

func (*LoginResponse) XXX_Unmarshal

func (m *LoginResponse) XXX_Unmarshal(b []byte) error

type LoginServiceClient

type LoginServiceClient interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
}

LoginServiceClient is the client API for LoginService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type LoginServiceServer

type LoginServiceServer interface {
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
}

LoginServiceServer is the server API for LoginService service.

type UnimplementedLoginServiceServer

type UnimplementedLoginServiceServer struct {
}

UnimplementedLoginServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedLoginServiceServer) Login

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL