package leasepb
import "github.com/coreos/etcd/lease/leasepb"
Package leasepb is a generated protocol buffer package.
It is generated from these files:
lease.proto
It has these top-level messages:
Lease
Index ¶
- Variables
- type Lease
- func (*Lease) Descriptor() ([]byte, []int)
- func (m *Lease) Marshal() (data []byte, err error)
- func (m *Lease) MarshalTo(data []byte) (int, error)
- func (*Lease) ProtoMessage()
- func (m *Lease) Reset()
- func (m *Lease) Size() (n int)
- func (m *Lease) String() string
- func (m *Lease) Unmarshal(data []byte) error
Variables ¶
var ( ErrInvalidLengthLease = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLease = fmt.Errorf("proto: integer overflow") )
Types ¶
type Lease ¶
type Lease struct { ID int64 `protobuf:"varint,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"` TTL int64 `protobuf:"varint,2,opt,name=TTL,json=tTL,proto3" json:"TTL,omitempty"` }
func (*Lease) Descriptor ¶
func (*Lease) Marshal ¶
func (*Lease) MarshalTo ¶
func (*Lease) ProtoMessage ¶
func (*Lease) ProtoMessage()
func (*Lease) Reset ¶
func (m *Lease) Reset()
func (*Lease) Size ¶
func (*Lease) String ¶
func (*Lease) Unmarshal ¶
Source Files ¶
- Version
- v3.0.17+incompatible
- Published
- Jan 20, 2017
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.