redisguard

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisMemoryLimit = "limit.redis.memory"

RedisMemoryLimit TODO

Functions

This section is empty.

Types

type Guard

type Guard struct {
	*serv.Serv

	*sync.RWMutex
	// contains filtered or unexported fields
}

Guard TODO

func New

func New(serv *serv.Serv, queueBox *queuebox.QueueBox, client *redis.Client) *Guard

New TODO

func (*Guard) Guard

func (guard *Guard) Guard() error

Guard TODO

func (*Guard) Info

func (guard *Guard) Info() sth.Result

Info TODO

func (*Guard) OnStart

func (guard *Guard) OnStart(context.Context) error

OnStart TODO

func (*Guard) OnStop

func (guard *Guard) OnStop(context.Context) error

OnStop TODO

type Task

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

Task TODO

func NewTask

func NewTask(guard *Guard) *Task

NewTask TODO

func (*Task) Start

func (task *Task) Start()

Start TODO

func (*Task) Stop

func (task *Task) Stop()

Stop TODO

Jump to

Keyboard shortcuts

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