tau

package
v0.0.0-...-93ee6ed Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDatasetNotFound      error = errors.New("Dataset not found")
	ErrDatasetAlreadyExists error = errors.New("Dataset already exists")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Server    ServerConfig
	Dataset   dataset.DatasetManagerConfig
	Zookeeper utils.ZookeeperConfig
}

func NewConfig

func NewConfig() (*Config, error)

func (*Config) BindAddress

func (c *Config) BindAddress() string

type Server

type Server interface {
	Start() error
	Stop()
}

func NewServer

func NewServer(config *Config, zk utils.Zookeeper, datasetsManager dataset.Manager, storage storage.Storage) Server

type ServerConfig

type ServerConfig struct {
	Address string
	Port    string
}

Directories

Path Synopsis
Package cluster is a generated GoMock package.
Package cluster is a generated GoMock package.
Package dataset is a generated GoMock package.
Package dataset is a generated GoMock package.
Binary search tree
Binary search tree
Package tau is a generated protocol buffer package.
Package tau is a generated protocol buffer package.
Package storage is a generated GoMock package.
Package storage is a generated GoMock package.
Rendezvous (highest random weight) hashing
Rendezvous (highest random weight) hashing

Jump to

Keyboard shortcuts

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