Versions in this module Expand all Collapse all v0 v0.1.0 Sep 15, 2018 Changes in this version + func RegisterHealthServer(s *grpc.Server, srv HealthServer) + type HealthClient interface + Health func(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*HealthResponse, error) + func NewHealthClient(cc *grpc.ClientConn) HealthClient + type HealthResponse struct + Health *NodeHealth + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HealthResponse) Descriptor() ([]byte, []int) + func (*HealthResponse) ProtoMessage() + func (dst *HealthResponse) XXX_Merge(src proto.Message) + func (m *HealthResponse) GetHealth() *NodeHealth + func (m *HealthResponse) Reset() + func (m *HealthResponse) String() string + func (m *HealthResponse) XXX_DiscardUnknown() + func (m *HealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HealthResponse) XXX_Size() int + func (m *HealthResponse) XXX_Unmarshal(b []byte) error + type HealthServer interface + Health func(context.Context, *types.Empty) (*HealthResponse, error) + type NodeHealth struct + Cpus int64 + MemoryFree int64 + MemoryTotal int64 + MemoryUsed int64 + OSName string + OSVersion string + Peers []*Peer + StartedAt *types.Timestamp + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*NodeHealth) Descriptor() ([]byte, []int) + func (*NodeHealth) ProtoMessage() + func (dst *NodeHealth) XXX_Merge(src proto.Message) + func (m *NodeHealth) GetCpus() int64 + func (m *NodeHealth) GetMemoryFree() int64 + func (m *NodeHealth) GetMemoryTotal() int64 + func (m *NodeHealth) GetMemoryUsed() int64 + func (m *NodeHealth) GetOSName() string + func (m *NodeHealth) GetOSVersion() string + func (m *NodeHealth) GetPeers() []*Peer + func (m *NodeHealth) GetStartedAt() *types.Timestamp + func (m *NodeHealth) Reset() + func (m *NodeHealth) Started() (time.Time, error) + func (m *NodeHealth) String() string + func (m *NodeHealth) XXX_DiscardUnknown() + func (m *NodeHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NodeHealth) XXX_Size() int + func (m *NodeHealth) XXX_Unmarshal(b []byte) error + type Peer struct + Addr string + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Peer) Descriptor() ([]byte, []int) + func (*Peer) ProtoMessage() + func (dst *Peer) XXX_Merge(src proto.Message) + func (m *Peer) GetAddr() string + func (m *Peer) GetName() string + func (m *Peer) Reset() + func (m *Peer) String() string + func (m *Peer) XXX_DiscardUnknown() + func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Peer) XXX_Size() int + func (m *Peer) XXX_Unmarshal(b []byte) error