public

package
v0.0.0-...-79c5bf3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceConfigBackend

type ServiceConfigBackend struct{}

func (*ServiceConfigBackend) GetConfigBackendAll

func (s *ServiceConfigBackend) GetConfigBackendAll() (err error, backend []model.SysConfigBackend)

type ServiceConfigFrontend

type ServiceConfigFrontend struct{}

func (*ServiceConfigFrontend) GetConfigFrontendAll

func (s *ServiceConfigFrontend) GetConfigFrontendAll() (err error, frontend []model.SysConfigFrontend)

type ServiceDb

type ServiceDb struct{}

func (*ServiceDb) InitDb

func (s *ServiceDb) InitDb(c *gin.Context, initDbInfo model.RequestDbInit) error

type ServiceDict

type ServiceDict struct{}

func (*ServiceDict) GetDictAll

func (s *ServiceDict) GetDictAll() (err error, dict []model.SysDict)

type ServiceLogin

type ServiceLogin struct{}

func (*ServiceLogin) LogLogin

func (s *ServiceLogin) LogLogin(username string, c *gin.Context, status string, detail string) (err error)

func (*ServiceLogin) Login

func (s *ServiceLogin) Login(u *model.SysUser) (err error, sysUser *model.SysUser)

func (*ServiceLogin) SaveOnline

func (s *ServiceLogin) SaveOnline(username string, token string) error

type ServicePublic

type ServicePublic struct {
	ServiceDb             ServiceDb
	ServiceLogin          ServiceLogin
	ServiceDict           ServiceDict
	ServiceConfigBackend  ServiceConfigBackend
	ServiceConfigFrontend ServiceConfigFrontend
	ServiceWebSocket      ServiceWebSocket
}

type ServiceWebSocket

type ServiceWebSocket struct{}

func (*ServiceWebSocket) Broadcast

func (s *ServiceWebSocket) Broadcast()

Jump to

Keyboard shortcuts

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