redis

package
v3.1.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2016 License: MIT Imports: 4 Imported by: 1

Documentation

Overview

Package redis gathers Redis related data from a host.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisInfo

func NewRedisInfo() readers.IReader

Types

type Base

type Base struct {
	HostAndPort string
}

type RedisInfo

type RedisInfo struct {
	Data map[string]string
	Base
}

func (*RedisInfo) Run

func (r *RedisInfo) Run() error

func (*RedisInfo) ToJson

func (r *RedisInfo) ToJson() ([]byte, error)

ToJson serialize Data field to JSON.

Jump to

Keyboard shortcuts

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