object

package
v0.0.0-...-73432e4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func GetDB

func GetDB() *xorm.Engine

func GetDatabases

func GetDatabases() map[string]*xorm.Engine

func InitDb

func InitDb(viper *viper.Viper)

func InitProducer

func InitProducer(viper *viper.Viper)

func InitWatch

func InitWatch(viper *viper.Viper)

func Send

func Send(producerName string, topic string, data []byte)

Types

type LogFileWatchInfo

type LogFileWatchInfo struct {
	Project    string         `json:"project"`
	LogFile    string         `json:"logFile"`
	Ip         string         `json:"ip"`
	Text       string         `json:"text"`
	Parameters map[string]any `json:"parameters"`
}

Jump to

Keyboard shortcuts

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