Versions in this module Expand all Collapse all v1 v1.1.12 Jul 8, 2020 Changes in this version + type App struct + Config *Config + Feed []byte + Library *media.Library + Listener net.Listener + Router *mux.Router + Store Store + Templates *templateStore + Watcher *fsnotify.Watcher + func NewApp(cfg *Config) (*App, error) + func (a *App) Run() error + type BitcaskStore struct + func (s *BitcaskStore) Close() error + func (s *BitcaskStore) GetViews(id string) (int64, error) + func (s *BitcaskStore) GetViews_(collection, id string) (int64, error) + func (s *BitcaskStore) IncView_(collection, id string) error + func (s *BitcaskStore) IncViews(id string) error + func (s *BitcaskStore) Migrate(collection, id string) error + type Config struct + Feed *FeedConfig + Library []*PathConfig + Server *ServerConfig + Thumbnailer *ThumbnailerConfig + Transcoder *TranscoderConfig + func DefaultConfig() *Config + func (c *Config) ReadFile(path string) error + type FeedConfig struct + Author struct{ ... } + Copyright string + Description string + ExternalURL string + Link string + Title string + type PathConfig struct + Path string + Prefix string + type ServerConfig struct + Host string + MaxUploadSize int64 + Port int + StorePath string + UploadPath string + type Sizes map[string]string + type Store interface + Close func() error + GetViews func(id string) (int64, error) + GetViews_ func(collection, id string) (int64, error) + IncView_ func(collection, id string) error + IncViews func(id string) error + Migrate func(collection, id string) error + func NewBitcaskStore(path string, options ...bitcask.Option) (Store, error) + type ThumbnailerConfig struct + Timeout int + type TranscoderConfig struct + Sizes Sizes + Timeout int