Back to

Package codec

Latest Go to latest

The highest tagged major version is .

Published: Apr 18, 2019 | License: Apache-2.0 | Module:


func MarshalJSONIndent

func MarshalJSONIndent(cdc *Codec, obj interface{}) ([]byte, error)

attempt to make some pretty json

func RegisterCrypto

func RegisterCrypto(cdc *Codec)

Register the go-crypto to the codec

type Codec

type Codec = amino.Codec

amino codec to marshal/unmarshal

var Cdc *Codec

generic sealed codec to be used throughout sdk

func New

func New() *Codec

Package Files

  • codec.go
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier