Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAPIVersion = "v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIVersion ¶
type APIVersion int
const (
V1 APIVersion = iota
)
func (APIVersion) String ¶
func (v APIVersion) String() string
type BookieSocketAddress ¶
type LedgerMetadata ¶
type LedgerMetadata struct {
StoreCtime bool `json:"storeCtime"`
HasPassword bool `json:"hasPassword"`
MetadataFormatVersion int `json:"metadataFormatVersion"`
Ensemble int `json:"ensembleSize"`
WriteQuorum int `json:"writeQuorumSize"`
AckQuorum int `json:"ackQuorumSize"`
Length int64 `json:"length"`
LastEntryID int64 `json:"lastEntryId"`
Ctime int64 `json:"ctime"`
CToken int64 `json:"cToken"`
State string `json:"state"`
DigestType string `json:"digestType"`
Ensembles map[int64][]BookieSocketAddress `json:"allEnsembles"`
CurrentEnsemble []BookieSocketAddress `json:"currentEnsemble"`
Password []byte `json:"password"`
CustomMetadata map[string][]byte `json:"customMetadata"`
}
Click to show internal directories.
Click to hide internal directories.