database

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(in []byte) ([]byte, error)

Types

type DatabaseConfig

type DatabaseConfig struct {
	Redis       string `json:"redis"`
	Mongo       string `json:"mongo"`
	MaxDataSize int    `json:"maxDataSize"`
}

type DistlockConfig

type DistlockConfig struct {
	Redis   string `json:"redis"`
	TTLExpr string `json:"ttl"`
	// contains filtered or unexported fields
}

type MailBoxConfig

type MailBoxConfig struct {
	Redis string `json:"redis"`
	Mongo string `json:"mongo"`
}

Jump to

Keyboard shortcuts

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