repository

package
v0.0.0-...-b149aee Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PENDING = 0
	ACTIVE  = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Ref

type Ref []byte

func EmptyRef

func EmptyRef() Ref

func (Ref) Equals

func (r Ref) Equals(r1 Ref) bool

func (Ref) String

func (r Ref) String() string

type T

type T struct {
	Name             string
	Status           int
	NameAllocationTx types.Hash
}

func Decode

func Decode(encoded []byte) (*T, error)

func NewRepository

func NewRepository(name string, status int, alloc types.Hash) *T

func (*T) Encode

func (t *T) Encode() ([]byte, error)

Jump to

Keyboard shortcuts

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