wire

package
v0.0.0-...-42c81d0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package wire is a generated protocol buffer package.

It is generated from these files:

bazil.org/bazil/cas/wire/manifest.proto

It has these top-level messages:

Manifest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Root             bazil_org_bazil_cas.Key `protobuf:"bytes,1,req,name=root,customtype=bazil.org/bazil/cas.Key" json:"root"`
	Size_            uint64                  `protobuf:"varint,2,req,name=size" json:"size"`
	ChunkSize        uint32                  `protobuf:"varint,3,req,name=chunkSize" json:"chunkSize"`
	Fanout           uint32                  `protobuf:"varint,4,req,name=fanout" json:"fanout"`
	XXX_unrecognized []byte                  `json:"-"`
}

func FromBlob

func FromBlob(m *blobs.Manifest) Manifest

func (*Manifest) GetChunkSize

func (m *Manifest) GetChunkSize() uint32

func (*Manifest) GetFanout

func (m *Manifest) GetFanout() uint32

func (*Manifest) GetSize_

func (m *Manifest) GetSize_() uint64

func (*Manifest) Marshal

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

func (*Manifest) MarshalTo

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

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) Reset

func (m *Manifest) Reset()

func (*Manifest) Size

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

func (*Manifest) String

func (m *Manifest) String() string

func (*Manifest) ToBlob

func (m *Manifest) ToBlob(type_ string) *blobs.Manifest

func (*Manifest) Unmarshal

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

Jump to

Keyboard shortcuts

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