rsclient

package
v0.0.0-...-be95f36 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(dsn string, timeout time.Duration) (*Client, error)

NewClient returns a client connection

func (*Client) GetPodAuth

func (c *Client) GetPodAuth(podname string) (string, error)

GetPodAuth(podname) will return the lib.RedisPod type for the given pod, if found.

type NewPodRequest

type NewPodRequest struct {
	Name   string
	IP     string
	Port   int
	Quorum int
	Auth   string
}

NewPodRequest is a struct used for passing in the pod information from the client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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