types

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 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 {
	User, Pwd, Host, Port, Db, Charset, Loc, ParseTime, MaxAllowedPacket, Timeout string
}

type RedisClient

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

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