Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct {
PartitionFilePath string
PartitionNumber uint8
HttpServerPort string
PersistPeriod int8
TpcServerPort string
HttpServerEnabled bool
}
func ParseConfiguration ¶
func ParseConfiguration() Configuration
type KeysResponse ¶
type KeysResponse struct {
Keys []Key `json:"keys"`
}
type NukeResponseCode ¶
type NukeResponseCode int
const ( Ok NukeResponseCode = 0 Empty NukeResponseCode = 100 NotFound NukeResponseCode = -900 DuplicateKey NukeResponseCode = -200 )
type PopRequest ¶
type PopRequest struct {
Key string `json:"key"`
}
type PushItemFileRequest ¶
type PushItemFileRequest struct {
Key string `json:"key"`
}
type PushItemRequest ¶
type PushItemStringRequest ¶
Click to show internal directories.
Click to hide internal directories.