json

package
v0.0.0-...-bc0462b Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct{}

Redirect struct to add methods to.

func (*Account) Decode

func (r *Account) Decode(input []byte) (*entity.Account, error)

Decode bytes into an Account struct via json

func (*Account) Encode

func (r *Account) Encode(input *entity.Account) ([]byte, error)

Encode an Account struct to bytes

type Transactions

type Transactions struct{}

func (*Transactions) Decode

func (r *Transactions) Decode(input []byte) (*entity.Transactions, error)

Decode bytes into a Transactions struct via json

func (*Transactions) Encode

func (r *Transactions) Encode(input *entity.Transactions) ([]byte, error)

Encode a Transactions struct to bytes

Jump to

Keyboard shortcuts

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