service

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionService

type SessionService interface {
	Login(model model.LoginModel) (string, error)
	Logout(token string) error
	LogoutByLoginId(loginId any) error
	CheckLogin(tokenValue string) (string, error)
	GetSessionValue(tokenValue string, key string) (any, error)
	SetSessionValue(tokenValue string, key string, value any) error
	RenewTimeout(loginId any, token string) error
}

func GetSessionService

func GetSessionService() SessionService

Jump to

Keyboard shortcuts

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