Documentation ¶
Index ¶
Constants ¶
View Source
const ( JWTType = "jwt" PasetoType = "paseto" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { pb.UnimplementedSimpleBankServer // contains filtered or unexported fields }
func (*Server) CreateUser ¶
func (s *Server) CreateUser(ctx context.Context, req *pb.CreateUserRequest) (*pb.CreateUserResponse, error)
func (*Server) LoginUser ¶
func (s *Server) LoginUser(ctx context.Context, req *pb.LoginUserRequest) (*pb.LoginUserResponse, error)
Click to show internal directories.
Click to hide internal directories.