remotestore

package
v0.0.0-...-3f6edba Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLAdaptor

type MySQLAdaptor struct {
}

func NewMySQL

func NewMySQL() *MySQLAdaptor

func (*MySQLAdaptor) Clear

func (mysql *MySQLAdaptor) Clear(until time.Time) error

func (*MySQLAdaptor) Pull

func (mysql *MySQLAdaptor) Pull(min time.Time, max time.Time) ([]string, error)

func (*MySQLAdaptor) Send

func (mysql *MySQLAdaptor) Send(now time.Time, entry string) error

type RedisAdaptor

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

func NewRedis

func NewRedis(options *RedisOptions) *RedisAdaptor

func (*RedisAdaptor) Clear

func (redis *RedisAdaptor) Clear(until time.Time) error

func (*RedisAdaptor) Pull

func (redis *RedisAdaptor) Pull(min time.Time, max time.Time) ([]string, error)

func (*RedisAdaptor) Send

func (redis *RedisAdaptor) Send(now time.Time, entry string) error

type RedisOptions

type RedisOptions struct {
	Addr string
	Key  string
}

Jump to

Keyboard shortcuts

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