auth

package
v0.0.0-...-a28d39e Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	UserName string `json:"username" validate:"required" example:"10056789"`
	Password string `json:"password" validate:"required" example:"P@ssword1234"`
	Mode     string `json:"-"`
}

type Service

type Service interface {
	Login(c *cctx.Context, req *Request) (interface{}, error)
}

Service service interface

func NewService

func NewService() Service

Jump to

Keyboard shortcuts

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