Documentation ¶
Index ¶
- type Repo
- func (r *Repo) DeleteEntry(id uint64) error
- func (r *Repo) GetAllEntries() (map[uint64]*entry.Entry, error)
- func (r *Repo) GetEntry(id uint64) (e *entry.Entry, err error)
- func (r *Repo) GetMetadata(key []byte) ([]byte, error)
- func (r *Repo) Init() error
- func (r *Repo) SetMetadata(key []byte, value []byte) error
- func (r *Repo) TouchEntry(e *entry.Entry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) DeleteEntry ¶
func (*Repo) GetAllEntries ¶
GetAllEntries returns all entries map, key format is "ip/user"
Click to show internal directories.
Click to hide internal directories.