Documentation ¶
Index ¶
Constants ¶
View Source
const RefreshInterval time.Duration = time.Second * 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessStatus ¶
type ProcessStatus struct { sync.RWMutex CpuUsage float64 MemRss int64 // contains filtered or unexported fields }
func NewProcessStatus ¶
func NewProcessStatus() *ProcessStatus
func (*ProcessStatus) StopUpdate ¶
func (p *ProcessStatus) StopUpdate()
func (*ProcessStatus) Update ¶
func (p *ProcessStatus) Update()
type RouterStart ¶
type VcapComponent ¶
type VcapComponent struct { Config interface{} `json:"-"` Varz *health.Varz `json:"-"` Health http.Handler InfoRoutes map[string]json.Marshaler `json:"-"` Logger logger.Logger `json:"-"` // contains filtered or unexported fields }
func (*VcapComponent) ListenAndServe ¶
func (c *VcapComponent) ListenAndServe() error
func (*VcapComponent) Register ¶
func (c *VcapComponent) Register(mbusClient *nats.Conn) error
func (*VcapComponent) Start ¶
func (c *VcapComponent) Start() error
func (*VcapComponent) Stop ¶
func (c *VcapComponent) Stop()
func (*VcapComponent) UpdateVarz ¶
func (c *VcapComponent) UpdateVarz()
Click to show internal directories.
Click to hide internal directories.