101 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			101 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Code generated by protoc-gen-go.
 | |
| // source: github.com/micro/go-micro/server/debug/proto/debug.proto
 | |
| // DO NOT EDIT!
 | |
| 
 | |
| /*
 | |
| Package debug is a generated protocol buffer package.
 | |
| 
 | |
| It is generated from these files:
 | |
| 	github.com/micro/go-micro/server/debug/proto/debug.proto
 | |
| 
 | |
| It has these top-level messages:
 | |
| 	HealthRequest
 | |
| 	HealthResponse
 | |
| 	StatsRequest
 | |
| 	StatsResponse
 | |
| */
 | |
| package debug
 | |
| 
 | |
| import proto "github.com/golang/protobuf/proto"
 | |
| import fmt "fmt"
 | |
| import math "math"
 | |
| 
 | |
| // Reference imports to suppress errors if they are not otherwise used.
 | |
| var _ = proto.Marshal
 | |
| var _ = fmt.Errorf
 | |
| var _ = math.Inf
 | |
| 
 | |
| // This is a compile-time assertion to ensure that this generated file
 | |
| // is compatible with the proto package it is being compiled against.
 | |
| // A compilation error at this line likely means your copy of the
 | |
| // proto package needs to be updated.
 | |
| const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
 | |
| 
 | |
| type HealthRequest struct {
 | |
| }
 | |
| 
 | |
| func (m *HealthRequest) Reset()                    { *m = HealthRequest{} }
 | |
| func (m *HealthRequest) String() string            { return proto.CompactTextString(m) }
 | |
| func (*HealthRequest) ProtoMessage()               {}
 | |
| func (*HealthRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
 | |
| 
 | |
| type HealthResponse struct {
 | |
| 	// default: ok
 | |
| 	Status string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
 | |
| }
 | |
| 
 | |
| func (m *HealthResponse) Reset()                    { *m = HealthResponse{} }
 | |
| func (m *HealthResponse) String() string            { return proto.CompactTextString(m) }
 | |
| func (*HealthResponse) ProtoMessage()               {}
 | |
| func (*HealthResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
 | |
| 
 | |
| type StatsRequest struct {
 | |
| }
 | |
| 
 | |
| func (m *StatsRequest) Reset()                    { *m = StatsRequest{} }
 | |
| func (m *StatsRequest) String() string            { return proto.CompactTextString(m) }
 | |
| func (*StatsRequest) ProtoMessage()               {}
 | |
| func (*StatsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
 | |
| 
 | |
| 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 (m *StatsResponse) Reset()                    { *m = StatsResponse{} }
 | |
| func (m *StatsResponse) String() string            { return proto.CompactTextString(m) }
 | |
| func (*StatsResponse) ProtoMessage()               {}
 | |
| func (*StatsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
 | |
| 
 | |
| func init() {
 | |
| 	proto.RegisterType((*HealthRequest)(nil), "HealthRequest")
 | |
| 	proto.RegisterType((*HealthResponse)(nil), "HealthResponse")
 | |
| 	proto.RegisterType((*StatsRequest)(nil), "StatsRequest")
 | |
| 	proto.RegisterType((*StatsResponse)(nil), "StatsResponse")
 | |
| }
 | |
| 
 | |
| var fileDescriptor0 = []byte{
 | |
| 	// 201 bytes of a gzipped FileDescriptorProto
 | |
| 	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x34, 0x8f, 0xbd, 0x6e, 0x83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