Documentation ¶
Index ¶
Constants ¶
View Source
const DockerApiVersion = "1.37"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { Port int ShutdownTimeOut time.Duration Secret string TokenValidityDuration time.Duration }
configuration of Dahu http API
type Conf ¶
type Conf struct { PersistenceConf Persistence ApiConf Api Close chan interface{} }
global configuration of Dahu
type Persistence ¶
type Persistence struct { Type PersistenceType Name string TimeOut time.Duration }
configuration of Dahu data persistence
type PersistenceType ¶
type PersistenceType int
persistence type supported by Dahu.
const (
InMemory PersistenceType = 1 + iota
)
Click to show internal directories.
Click to hide internal directories.