Documentation
¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
github.com/stratumn/go-indigonode/app/clock/pb/clock.proto
It has these top-level messages:
Time
Index ¶
- Variables
- type Time
- func (*Time) Descriptor() ([]byte, []int)
- func (m *Time) GetTimestamp() int64
- func (m *Time) Marshal() (dAtA []byte, err error)
- func (m *Time) MarshalTo(dAtA []byte) (int, error)
- func (*Time) ProtoMessage()
- func (m *Time) Reset()
- func (m *Time) Size() (n int)
- func (m *Time) String() string
- func (m *Time) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthClock = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClock = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Time ¶
type Time struct {
Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
The time message containing a Unix nano timestamp.
func (*Time) Descriptor ¶
func (*Time) GetTimestamp ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.