proto

package
v0.0.0-...-118f6c1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestHeader

type RequestHeader struct {
}

RequestHeader is for tso request proto.

type Response

type Response struct {
	Timestamp
}

Response is for tso reponse proto.

func (*Response) Decode

func (res *Response) Decode(r io.Reader) error

Decode decodes reponse proto from r.

func (*Response) Encode

func (res *Response) Encode(w io.Writer) error

Encode encodes repsonse proto into w.

type Timestamp

type Timestamp struct {
	Physical int64
	Logical  int64
}

Timestamp is for tso timestamp.

Jump to

Keyboard shortcuts

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