Documentation
¶
Index ¶
- func Connect() (ok bool, err error)
- func Count() int
- func Disconnect()
- func GetDatabasePath() string
- func Init() (ok bool, err error)
- func SetDatabasePath(filePath string) (ok bool, err error)
- type Record
- func (r Record) BBCode() string
- func (r *Record) Delete() (bool, error)
- func (r Record) Markdown() string
- func (r Record) Persisted() bool
- func (r Record) RemoteOK() (bool, error)
- func (r *Record) Save() (bool, error)
- func (r Record) String() string
- func (r Record) Tags() string
- func (r Record) URL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDatabasePath ¶
SetDatabasePath sets the db path
Types ¶
type Record ¶
type Record struct { ID string `json:"checksum"` BaseName string `json:"base_name"` Directory string `json:"directory"` FileSize int `json:"file_size"` RemotePath string `json:"remote_path"` // contains filtered or unexported fields }
Record of a dropbox-linked gif
Click to show internal directories.
Click to hide internal directories.