types

package
v1.3.40 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBCollector

type DBCollector struct {
	Pointer *gorm.DB
	// contains filtered or unexported fields
}

func (*DBCollector) Once added in v1.2.16

func (d *DBCollector) Once(f func())

func (*DBCollector) Reset added in v1.2.16

func (d *DBCollector) Reset(f func())

type MysqlDialect

type MysqlDialect struct {
	Host             string
	Port             string
	User             string
	Pwd              string
	Db               string
	Charset          string
	Loc              string
	ParseTime        string
	MaxAllowedPacket string
	Timeout          string
}

type RedisClient

type RedisClient struct {
	Host string
	Port string
	Pwd  string
	Db   int
}

type RedisCollector

type RedisCollector struct {
	Pointer *redis.Client
	// contains filtered or unexported fields
}

func (*RedisCollector) Once added in v1.2.16

func (r *RedisCollector) Once(f func())

func (*RedisCollector) Reset added in v1.2.16

func (r *RedisCollector) Reset(f func())

Jump to

Keyboard shortcuts

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