redis

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Index

Constants

View Source
const REDIS = "redis"
View Source
const REDISTLS = "redis"

Variables

This section is empty.

Functions

func DetectRedis added in v1.1.13

func DetectRedis(conn net.Conn, target plugins.Target, timeout time.Duration, tls bool) (*plugins.Service, error)

Types

type Info

type Info struct {
	AuthRequired bool
}

type REDISPlugin

type REDISPlugin struct{}

func (*REDISPlugin) Name

func (p *REDISPlugin) Name() string

func (*REDISPlugin) PortPriority

func (p *REDISPlugin) PortPriority(port uint16) bool

func (*REDISPlugin) Priority

func (p *REDISPlugin) Priority() int

func (*REDISPlugin) Run

func (p *REDISPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*REDISPlugin) Type

func (p *REDISPlugin) Type() plugins.Protocol

type REDISTLSPlugin added in v1.1.13

type REDISTLSPlugin struct{}

func (*REDISTLSPlugin) Name added in v1.1.13

func (p *REDISTLSPlugin) Name() string

func (*REDISTLSPlugin) PortPriority added in v1.1.13

func (p *REDISTLSPlugin) PortPriority(port uint16) bool

func (*REDISTLSPlugin) Priority added in v1.1.13

func (p *REDISTLSPlugin) Priority() int

func (*REDISTLSPlugin) Run added in v1.1.13

func (p *REDISTLSPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*REDISTLSPlugin) Type added in v1.1.13

func (p *REDISTLSPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

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