database

package
v0.0.0-...-af64ff1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsupPaths = [][]string{
	[]string{"cic"},
	[]string{"dpc"},
	[]string{"opc"},
	[]string{"msg_name"},
	[]string{"called_number", "num"},
	[]string{"calling_number", "num"},
}

Functions

func ConnectString

func ConnectString(dbName string) (string, error)

Types

type DBHandler

type DBHandler interface {
	// contains filtered or unexported methods
}

type Database

type Database struct {
	H    DBHandler
	Chan chan *decoder.HEP
}

func New

func New(name string) *Database

func (*Database) End

func (d *Database) End()

func (*Database) Run

func (d *Database) Run() error

type Mock

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

type MySQL

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

type Postgres

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

Jump to

Keyboard shortcuts

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