Documentation ¶
Index ¶
- Constants
- Variables
- func WhereIn(vals []string) string
- func WhereInIds(ids []int64) string
- func WhereInStrIds(ids []string) string
- type DockerTest
- type DummyRecord
- type DummySession
- func (sess DummySession) Del(key string)
- func (sess DummySession) Expiry(key string) int64
- func (sess DummySession) FadeInt(key string, val int64, sec int64)
- func (sess DummySession) FadeMSX(key string, val M.SX, sec int64)
- func (sess DummySession) FadeStr(key, val string, sec int64)
- func (sess DummySession) FadeVal(key string, val any, sec int64)
- func (sess DummySession) GetInt(key string) int64
- func (sess DummySession) GetMSX(key string) M.SX
- func (sess DummySession) GetStr(key string) string
- func (sess DummySession) GetVal(key string) any
- func (sess DummySession) Inc(key string) int64
- func (sess *DummySession) Product() string
- func (sess DummySession) SetInt(key string, val int64)
- func (sess DummySession) SetMSX(key string, val M.SX)
- func (sess DummySession) SetStr(key, val string)
- type RamCache
- type Record
Constants ¶
View Source
const AEROSP = `As`
View Source
const ARANGO = `Ar`
View Source
const DUMMY = `Du`
View Source
const POSTGRE = `Pg`
View Source
const REDIS = `Rd`
View Source
const SCYLLA = `Sc`
Variables ¶
View Source
var DEBUG bool
View Source
var Z func(string) string
View Source
var ZI func(int64) string
View Source
var ZJ func(string) string
View Source
var ZLIKE func(string) string
View Source
var ZS func(string) string
View Source
var ZZ func(string) string
Functions ¶
func WhereInIds ¶
func WhereInStrIds ¶
Types ¶
type DockerTest ¶
type DockerTest struct { Pool *dockertest.Pool Network *docker.Network Uniq string Resources []*dockertest.Resource }
func InitDockerTest ¶
func InitDockerTest(endpoint string) *DockerTest
func (*DockerTest) Cleanup ¶
func (d *DockerTest) Cleanup()
func (*DockerTest) HostPort ¶
func (d *DockerTest) HostPort(port string) string
func (*DockerTest) Spawn ¶
func (d *DockerTest) Spawn(options *dockertest.RunOptions, checkFunc func(res *dockertest.Resource) error)
type DummyRecord ¶
type DummySession ¶
in memory data session (used when no database installed), gone when program exit
func NewDummy ¶
func NewDummy() *DummySession
func (DummySession) Del ¶
func (sess DummySession) Del(key string)
func (DummySession) Expiry ¶
func (sess DummySession) Expiry(key string) int64
func (DummySession) FadeStr ¶
func (sess DummySession) FadeStr(key, val string, sec int64)
func (DummySession) GetInt ¶
func (sess DummySession) GetInt(key string) int64
func (DummySession) GetStr ¶
func (sess DummySession) GetStr(key string) string
func (DummySession) GetVal ¶
func (sess DummySession) GetVal(key string) any
func (DummySession) Inc ¶
func (sess DummySession) Inc(key string) int64
func (*DummySession) Product ¶
func (sess *DummySession) Product() string
func (DummySession) SetInt ¶
func (sess DummySession) SetInt(key string, val int64)
func (DummySession) SetStr ¶
func (sess DummySession) SetStr(key, val string)
Click to show internal directories.
Click to hide internal directories.