Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bolt ¶
type Bolt struct {
// contains filtered or unexported fields
}
Bolt is a representation of the bolt datastore
func Init ¶
func Init(config *config.BoltConfig) (Bolt, error)
Init creates a new boltdb with given settings
func (*Bolt) BumpHitCount ¶
BumpHitCount updates the hit number on a certain link
func (*Bolt) CreateLink ¶
CreateLink stores a new link into database
func (*Bolt) DeleteLink ¶
DeleteLink removes a link from the database
func (*Bolt) GetAllLinks ¶
GetAllLinks returns an unpaginated list of current links
Click to show internal directories.
Click to hide internal directories.