user

package
v0.0.0-...-bee3e51 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserCmd

func NewUserCmd() *cobra.Command

func NewUserLoginCmd

func NewUserLoginCmd() *cobra.Command

Types

type CreateResponse

type CreateResponse struct {
	Token string `json:"token"`
}

type LoginResponse

type LoginResponse struct {
	Token  string `json:"token"`
	UserId string `json:"user_id"`
}

func (*LoginResponse) Login

func (r *LoginResponse) Login(logger *log.Entry) error

Jump to

Keyboard shortcuts

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