types

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

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CC_SERV_BASEPATH      = "/cc/services/endpoints"
	CC_SERVCONF_BASEPATH  = "/cc/services/config"
	CC_SERVERROR_BASEPATH = "/cc/services/errors"
	CC_SERVLANG_BASEPATH  = "/cc/services/language"
)

zk path

View Source
const (
	CC_MODULE_AUDITCONTROLLER  = "auditcontroller"
	CC_MODULE_HOSTCONTROLLER   = "hostcontroller"
	CC_MODULE_OBJECTCONTROLLER = "objectcontroller"
	CC_MODULE_PROCCONTROLLER   = "proccontroller"
	CC_MODULE_DATACOLLECTION   = "datacollection"
	CC_MODULE_HOST             = "host"
	CC_MODULE_MIGRATE          = "migrate"
	CC_MODULE_PROC             = "proc"
	CC_MODULE_TOPO             = "topo"
	CC_MODULE_APISERVER        = "apiserver"
	CC_MODULE_WEBSERVER        = "webserver"
	CC_MODULE_EVENTSERVER      = "eventserver"
)

cc modules

View Source
const (
	CCFunctionalityServicediscover = "servicediscover"
)

cc functionality define

Variables

AllModule all cc module

Functions

This section is empty.

Types

type APIServerServInfo

type APIServerServInfo struct {
	ServerInfo
}

APIServerServInfo apiserver informaiton

type AuditControllerServInfo

type AuditControllerServInfo struct {
	ServerInfo
}

AuditControllerServInfo audit-controller server information

type DataCollectionControllerServInfo

type DataCollectionControllerServInfo struct {
	ServerInfo
}

DataCollectionControllerServInfo data-collection-controller server information

type DataCollectionServInfo

type DataCollectionServInfo struct {
	ServerInfo
}

DataCollectionServInfo data-conllection server information

type EventServInfo

type EventServInfo struct {
	ServerInfo
}

EventServInfo topo server information

type HostControllerServInfo

type HostControllerServInfo struct {
	ServerInfo
}

HostControllerServInfo host-controller server information

type HostServerInfo

type HostServerInfo struct {
	ServerInfo
}

HostServerInfo host server information

type MigrateControllerServInfo

type MigrateControllerServInfo struct {
	ServerInfo
}

MigrateControllerServInfo migrate-controller server information

type MigrateServInfo

type MigrateServInfo struct {
	ServerInfo
}

MigrateServInfo migrate server information

type ObjectControllerServInfo

type ObjectControllerServInfo struct {
	ServerInfo
}

ObjectControllerServInfo object-controller server information

type ProcControllerServInfo

type ProcControllerServInfo struct {
	ServerInfo
}

ProcControllerServInfo proc-controller server information

type ProcServInfo

type ProcServInfo struct {
	ServerInfo
}

ProcServInfo proc server information

type ServerInfo

type ServerInfo struct {
	IP       string `json:"ip"`
	Port     uint   `json:"port"`
	HostName string `json:"hostname"`
	Scheme   string `json:"scheme"`
	Version  string `json:"version"`
	Pid      int    `json:"pid"`
}

ServerInfo define base server information

type Time

type Time struct {
	time.Time
}

func Now

func Now() Time

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

func (*Time) Scan

func (t *Time) Scan(value interface{}) error

Scan implement sql driver's Scan interface

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface. The time is expected to be a quoted string in RFC 3339 format.

func (Time) Value

func (t Time) Value() (driver.Value, error)

Value implement sql driver's Value interface

type TopoServInfo

type TopoServInfo struct {
	ServerInfo
}

TopoServInfo topo server information

type WebServerInfo

type WebServerInfo struct {
	ServerInfo
}

WebServerInfo web server information

Jump to

Keyboard shortcuts

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