config

package
v0.0.0-...-233725d Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsistentHashing

type ConsistentHashing struct {
	VirReplic int    `json:"vir"`
	Oplog     *Oplog `json:"oplog"`
}

type Elector

type Elector struct {
	ZKEndpoints []string `json:"zk_endpoints"`
}

type Oplog

type Oplog struct {
	Path         string `json:"path"`
	GRPCEndpoint string `json:"grpc_endpoint"`
}

type Worker

type Worker struct {
	HTTPEndpoint string             `json:"http_endpoint"`
	GRPCEndpoint string             `json:"grpc_endpoint"`
	CH           *ConsistentHashing `json:"consistent_hashing"`
	Elector      *Elector           `json:"elector,omitempty"`
}

Jump to

Keyboard shortcuts

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