Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BcryptRPCServer ¶
type BcryptRPCServer struct { service.UnimplementedBcryptServiceServer // contains filtered or unexported fields }
func NewBcryptRPCServer ¶
func NewBcryptRPCServer(cost int) *BcryptRPCServer
func (*BcryptRPCServer) CheckPassword ¶
func (server *BcryptRPCServer) CheckPassword(ctx context.Context, req *service.CheckRequest) (*service.CheckResponse, error)
func (*BcryptRPCServer) HashPassword ¶
func (server *BcryptRPCServer) HashPassword(ctx context.Context, req *service.HashRequest) (*service.HashResponse, error)
Click to show internal directories.
Click to hide internal directories.