...
Package debug
Overview ▹
Index ▹
type HealthRequest ¶
type HealthRequest struct { }
func (*HealthRequest) Descriptor ¶
func (*HealthRequest) Descriptor() ([]byte, []int)
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) Reset ¶
func (m *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (m *HealthRequest) String() string
type HealthResponse ¶
type HealthResponse struct {
// default: ok
Status string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
}
func (*HealthResponse) Descriptor ¶
func (*HealthResponse) Descriptor() ([]byte, []int)
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) Reset ¶
func (m *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (m *HealthResponse) String() string
type StatsRequest ¶
type StatsRequest struct { }
func (*StatsRequest) Descriptor ¶
func (*StatsRequest) Descriptor() ([]byte, []int)
func (*StatsRequest) ProtoMessage ¶
func (*StatsRequest) ProtoMessage()
func (*StatsRequest) Reset ¶
func (m *StatsRequest) Reset()
func (*StatsRequest) String ¶
func (m *StatsRequest) String() string
type StatsResponse ¶
type StatsResponse struct { // unix timestamp Started uint64 `protobuf:"varint,1,opt,name=started" json:"started,omitempty"` // in seconds Uptime uint64 `protobuf:"varint,2,opt,name=uptime" json:"uptime,omitempty"` // in bytes Memory uint64 `protobuf:"varint,3,opt,name=memory" json:"memory,omitempty"` // num threads Threads uint64 `protobuf:"varint,4,opt,name=threads" json:"threads,omitempty"` // in nanoseconds Gc uint64 `protobuf:"varint,5,opt,name=gc" json:"gc,omitempty"` }
func (*StatsResponse) Descriptor ¶
func (*StatsResponse) Descriptor() ([]byte, []int)
func (*StatsResponse) ProtoMessage ¶
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) Reset ¶
func (m *StatsResponse) Reset()
func (*StatsResponse) String ¶
func (m *StatsResponse) String() string