gotrade: github.com/cyanly/gotrade/proto/service Index | Files

package service

import "github.com/cyanly/gotrade/proto/service"

Package service is a generated protocol buffer package.

It is generated from these files:

service/service.proto

It has these top-level messages:

Heartbeat

Index

Package Files

service.pb.go

Variables

var Heartbeat_Status_name = map[int32]string{
    0:  "STOPPED",
    1:  "STARTING",
    2:  "RUNNING",
    3:  "ERROR",
    4:  "STOPPING",
}
var Heartbeat_Status_value = map[string]int32{
    "STOPPED":  0,
    "STARTING": 1,
    "RUNNING":  2,
    "ERROR":    3,
    "STOPPING": 4,
}

type Heartbeat Uses

type Heartbeat struct {
    Name             string           `protobuf:"bytes,1,req,name=name" json:"name"`
    Id               string           `protobuf:"bytes,2,opt,name=id" json:"id"`
    Machine          string           `protobuf:"bytes,3,opt,name=machine" json:"machine"`
    Status           Heartbeat_Status `protobuf:"varint,4,opt,name=status,enum=proto.service.Heartbeat_Status" json:"status"`
    CurrentDatetime  string           `protobuf:"bytes,5,opt,name=current_datetime" json:"current_datetime"`
    CreationDatetime string           `protobuf:"bytes,6,opt,name=creation_datetime" json:"creation_datetime"`
    Description      string           `protobuf:"bytes,7,opt,name=description" json:"description"`
    XXX_unrecognized []byte           `json:"-"`
}

func NewPopulatedHeartbeat Uses

func NewPopulatedHeartbeat(r randyService, easy bool) *Heartbeat

func (*Heartbeat) Equal Uses

func (this *Heartbeat) Equal(that interface{}) bool

func (*Heartbeat) GetCreationDatetime Uses

func (m *Heartbeat) GetCreationDatetime() string

func (*Heartbeat) GetCurrentDatetime Uses

func (m *Heartbeat) GetCurrentDatetime() string

func (*Heartbeat) GetDescription Uses

func (m *Heartbeat) GetDescription() string

func (*Heartbeat) GetId Uses

func (m *Heartbeat) GetId() string

func (*Heartbeat) GetMachine Uses

func (m *Heartbeat) GetMachine() string

func (*Heartbeat) GetName Uses

func (m *Heartbeat) GetName() string

func (*Heartbeat) GetStatus Uses

func (m *Heartbeat) GetStatus() Heartbeat_Status

func (*Heartbeat) GoString Uses

func (this *Heartbeat) GoString() string

func (*Heartbeat) Marshal Uses

func (m *Heartbeat) Marshal() (data []byte, err error)

func (*Heartbeat) MarshalTo Uses

func (m *Heartbeat) MarshalTo(data []byte) (n int, err error)

func (*Heartbeat) ProtoMessage Uses

func (*Heartbeat) ProtoMessage()

func (*Heartbeat) Reset Uses

func (m *Heartbeat) Reset()

func (*Heartbeat) Size Uses

func (m *Heartbeat) Size() (n int)

func (*Heartbeat) String Uses

func (this *Heartbeat) String() string

func (*Heartbeat) Unmarshal Uses

func (m *Heartbeat) Unmarshal(data []byte) error

func (*Heartbeat) VerboseEqual Uses

func (this *Heartbeat) VerboseEqual(that interface{}) error

type Heartbeat_Status Uses

type Heartbeat_Status int32
const (
    STOPPED  Heartbeat_Status = 0
    STARTING Heartbeat_Status = 1
    RUNNING  Heartbeat_Status = 2
    ERROR    Heartbeat_Status = 3
    STOPPING Heartbeat_Status = 4
)

func (Heartbeat_Status) Enum Uses

func (x Heartbeat_Status) Enum() *Heartbeat_Status

func (Heartbeat_Status) String Uses

func (x Heartbeat_Status) String() string

func (*Heartbeat_Status) UnmarshalJSON Uses

func (x *Heartbeat_Status) UnmarshalJSON(data []byte) error

Package service imports 9 packages (graph) and is imported by 2 packages. Updated 2016-07-20. Refresh now. Tools for package owners.