config

package
v3.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CCAPIConfig

type CCAPIConfig struct {
	AddrPort    string
	RegDiscover string
	ExConfig    string
	Qps         int64
	Burst       int64
}

CCAPIConfig define configuration of ccapi server

func NewCCAPIConfig

func NewCCAPIConfig() *CCAPIConfig

NewCCAPIConfig create ccapi config object

func (*CCAPIConfig) GetAddress

func (conf *CCAPIConfig) GetAddress() (string, error)

GetAddress get the address

func (*CCAPIConfig) GetPort

func (conf *CCAPIConfig) GetPort() (uint, error)

GetPort get the port

Jump to

Keyboard shortcuts

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