service

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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 AppConfig

type AppConfig struct{}

func (*AppConfig) CreateOrUpdate

func (e *AppConfig) CreateOrUpdate(ctx *gin.Context, group string, data map[string]any) error

func (*AppConfig) Group

func (e *AppConfig) Group(ctx *gin.Context, group string) (map[string]any, error)

func (*AppConfig) Profile

func (e *AppConfig) Profile(ctx *gin.Context, auth bool) (map[string]gin.H, error)

type Monitor

type Monitor struct{}

func (*Monitor) Monitor

func (e *Monitor) Monitor(ctx *gin.Context) (*dto.MonitorResponse, error)

type Statistics

type Statistics struct{}

func (*Statistics) Get

type Storage

type Storage struct{}

func (*Storage) Upload

func (s *Storage) Upload(c *gin.Context, f *multipart.FileHeader, tenantID, userID string) (string, error)

type UserConfig

type UserConfig struct{}

func (*UserConfig) CreateOrUpdate

func (e *UserConfig) CreateOrUpdate(ctx *gin.Context, userID, group string, data map[string]any) error

func (*UserConfig) Group

func (e *UserConfig) Group(ctx *gin.Context, userID, group string) (map[string]string, error)

func (*UserConfig) Profile

func (e *UserConfig) Profile(ctx *gin.Context, tenantID, userID string) (map[string]gin.H, error)

Jump to

Keyboard shortcuts

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