server

package
v0.0.0-...-b60d635 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Unlicense Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

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