mysql

package
v0.0.0-...-7553a0f Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func CreateGatewayConfig

func CreateGatewayConfig(gscs []*model.GatewayConfig) error

func CreateGatewaySystem

func CreateGatewaySystem(gscs []*model.GatewaySystemConfig) error

func GetGatewayConfig

func GetGatewayConfig(keyword string) ([]*model.GatewayConfig, error)

func GetGatewaySystemConfig

func GetGatewaySystemConfig(keyword string) ([]*model.GatewaySystemConfig, error)

func GetGatewaySystemConfigByPage

func GetGatewaySystemConfigByPage(keyword string, page, pageSize int64) ([]*model.GatewaySystemConfig, int64, error)

func Init

func Init(dsn string, zapLogger *zap.Logger)

func QueryGatewayConfigByPage

func QueryGatewayConfigByPage(keyword string, page, pageSize int64) ([]*model.GatewayConfig, int64, error)

func UpdateGatewayConfig

func UpdateGatewayConfig(gsc *model.GatewayConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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