storage

package
v0.0.0-...-ec205ef Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageComponent

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

func NewStorageComponent

func NewStorageComponent() StorageComponent

func (*StorageComponent) Run

func (s *StorageComponent) Run() (stop func(), wait func() error, err error)

Run function implements the `github.com/stepsisters/kgb.ComponentInterface`

func (*StorageComponent) SavePost

func (s *StorageComponent) SavePost(post reddit.Post) error

Jump to

Keyboard shortcuts

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