config

package
v0.0.0-...-e0071fa Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2018 License: BSD-3-Clause Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balancer

type Balancer struct {
	BalancerType  string // CoreBanlancing or Addr or domain
	CometRPC_addr string
	// CoreBanlancing conf.
	Cbl_addr string
}

type Config

type Config struct {
	Listener
	Balancer
	Etcd
}

type Etcd

type Etcd struct {
	// Etcd conf.
	Etcd_addr     []string `json:"-"`
	Etcd_interval uint64
	Etcd_dir      string
}

type Listener

type Listener struct {
	Listen_addr string `json:"-"`
	Tls         bool
	Cert        []byte
	Key         []byte
}

Jump to

Keyboard shortcuts

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