ports

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigType

type ConfigType interface {
	config.Redis | config.MongoDB | any
}

type DriverType

type DriverType interface {
	drivers.Redis | drivers.MongoDB | any
	Set(key string, value interface{}) error
	Get(key string) (interface{}, error)
	Delete(key string) error
	Exists(key string) (bool, error)
	Expire(key string, seconds int) error
	TTL(key string) (int, error)
	Flush() error
	Close() error
	Ping() error
}

Jump to

Keyboard shortcuts

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