pb

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2018 License: AGPL-3.0 Imports: 4 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Time) GetTimestamp

func (m *Time) GetTimestamp() int64

func (*Time) Marshal

func (m *Time) Marshal() (dAtA []byte, err error)

func (*Time) MarshalTo

func (m *Time) MarshalTo(dAtA []byte) (int, error)

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) Reset

func (m *Time) Reset()

func (*Time) Size

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

func (*Time) String

func (m *Time) String() string

func (*Time) Unmarshal

func (m *Time) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL