Documentation
¶
Index ¶
- Variables
- func CreateGatewayConfig(gscs []*model.GatewayConfig) error
- func CreateGatewaySystem(gscs []*model.GatewaySystemConfig) error
- func GetGatewayConfig(keyword string) ([]*model.GatewayConfig, error)
- func GetGatewaySystemConfig(keyword string) ([]*model.GatewaySystemConfig, error)
- func GetGatewaySystemConfigByPage(keyword string, page, pageSize int64) ([]*model.GatewaySystemConfig, int64, error)
- func Init(dsn string, zapLogger *zap.Logger)
- func QueryGatewayConfigByPage(keyword string, page, pageSize int64) ([]*model.GatewayConfig, int64, error)
- func UpdateGatewayConfig(gsc *model.GatewayConfig) error
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 UpdateGatewayConfig ¶
func UpdateGatewayConfig(gsc *model.GatewayConfig) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.