base

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes data.Bytes

func (Bytes) Compare added in v0.0.2

func (this Bytes) Compare(that Bytes) int

func (*Bytes) DecodeString

func (t *Bytes) DecodeString(buf string) error

func (Bytes) EncodeString

func (t Bytes) EncodeString() string

func (Bytes) Marshal

func (t Bytes) Marshal() ([]byte, error)

func (Bytes) MarshalJSON

func (t Bytes) MarshalJSON() ([]byte, error)

func (*Bytes) Unmarshal

func (t *Bytes) Unmarshal(data []byte) error

func (*Bytes) UnmarshalJSON

func (t *Bytes) UnmarshalJSON(buf []byte) error

type PubKey

type PubKey crypto.PubKey

func (PubKey) Marshal

func (t PubKey) Marshal() ([]byte, error)

func (PubKey) MarshalJSON

func (t PubKey) MarshalJSON() ([]byte, error)

func (*PubKey) Unmarshal

func (t *PubKey) Unmarshal(data []byte) error

func (*PubKey) UnmarshalJSON

func (t *PubKey) UnmarshalJSON(data []byte) error

type Signature

type Signature crypto.Signature

func (Signature) Marshal

func (t Signature) Marshal() ([]byte, error)

func (Signature) MarshalJSON

func (t Signature) MarshalJSON() ([]byte, error)

func (*Signature) Unmarshal

func (t *Signature) Unmarshal(data []byte) error

func (*Signature) UnmarshalJSON

func (t *Signature) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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