proxy

package
v0.0.0-...-c4ad144 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(mo kv.MergeOperator, config map[string]interface{}) (prv kv.KVStore, err error)

func NewClient

func NewClient(port int, basename, password string, bUseTls bool) (prv kv.KVStore, err error)

Types

type Server

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

func NewServer

func NewServer(store kv.KVStore, port int, basename, password string, bUseTls bool) (server *Server, err error)

func (*Server) Close

func (this *Server) Close()

func (*Server) Stat

func (this *Server) Stat() *ServerStat

type ServerStat

type ServerStat struct {
	TLS           bool
	ReadersCount  int
	IteratorCount int
}

func Stat

func Stat(kvs kv.KVStore) (stat *ServerStat, err error)

func (ServerStat) MarshalJSON

func (this ServerStat) MarshalJSON() (bb []byte, err error)

Jump to

Keyboard shortcuts

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