db

package
v0.0.0-...-b345cb0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func DeleteC

func DeleteC(ip string)

func DeleteP

func DeleteP(ip string)

func GetAll

func GetAll[T any](q string) []T

func GetAllC

func GetAllC() data.Commands

func GetAllI

func GetAllI() []string

func GetAllM

func GetAllM() data.Messages

func GetAllU

func GetAllU() data.Players

func GetVKCollectingSettings

func GetVKCollectingSettings() int

func GetVKMiningSettings

func GetVKMiningSettings() []data.GroupData

func Init

func Init(dbName string) *pgxpool.Pool

func SetVKCollectingSettings

func SetVKCollectingSettings(count int)

func StoreC

func StoreC(c data.Command)

func StoreM

func StoreM(m ...data.Message)

func StoreP

func StoreP(p data.Player)

func StoreVKConfig

func StoreVKConfig(groups ...data.GroupData)

func UpdateC

func UpdateC(c data.Command)

func UpdateP

func UpdateP(p data.Player)

Types

This section is empty.

Jump to

Keyboard shortcuts

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