Documentation
¶
Index ¶
- func ApplyFlags(cmd *cobra.Command, opts Opts)
- type AddOpts
- type DeleteOpts
- type GetOpts
- type HandlerFunc
- func Add(cfg *config.Config, db *_db.DB, opts *AddOpts) HandlerFunc
- func Delete(cfg *config.Config, db *_db.DB, opts *DeleteOpts) HandlerFunc
- func Get(cfg *config.Config, db *_db.DB, opts *GetOpts) HandlerFunc
- func Init(cfg *config.Config, db *_db.DB, lg *logger.Logger) HandlerFunc
- func Nuke(cfg *config.Config, db *_db.DB, opts *NukeOpts) HandlerFunc
- func Search(cfg *config.Config, db *_db.DB, opts *SearchOpts) HandlerFunc
- func Summarize(cfg *config.Config, db *_db.DB, opts *SummarizeOpts) HandlerFunc
- func ValidateOptions(cfg *config.Config, opts Opts) HandlerFunc
- type NukeOpts
- type Opts
- type SearchOpts
- type SummarizeOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyFlags ¶
Types ¶
type DeleteOpts ¶
type HandlerFunc ¶
func Delete ¶
func Delete(cfg *config.Config, db *_db.DB, opts *DeleteOpts) HandlerFunc
func Search ¶
func Search(cfg *config.Config, db *_db.DB, opts *SearchOpts) HandlerFunc
func Summarize ¶
func Summarize(cfg *config.Config, db *_db.DB, opts *SummarizeOpts) HandlerFunc
func ValidateOptions ¶
func ValidateOptions(cfg *config.Config, opts Opts) HandlerFunc
type SearchOpts ¶
type SearchOpts struct{}
type SummarizeOpts ¶
Click to show internal directories.
Click to hide internal directories.