redis_adapter

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(uri string, connection int, auth ...string) adapter.Adapter

Types

type RedisAdapter

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

func (*RedisAdapter) AddRule

func (r *RedisAdapter) AddRule(rules ...string) error

func (*RedisAdapter) GetRule

func (r *RedisAdapter) GetRule(rules ...string) (rule string, err error)

func (*RedisAdapter) RemoveRule

func (r *RedisAdapter) RemoveRule(rules ...string) error

Jump to

Keyboard shortcuts

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