saver

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API is saver api.

func New

func New(l logger.Logger, c cacher.Cacher, db *gorm.DB, mal *malscraper.Malscraper, ps pubsub.PubSub, es *elasticsearch.Client) *API

New to create new saver.

func (*API) Parse

func (a *API) Parse(t string, id int) (err error)

Parse to parse entry.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL