Back to godoc.org

Package codec

v0.33.0-pool
Latest Go to latest

The highest tagged major version is .

Published: Apr 18, 2019 | License: Apache-2.0 | Module: git.ethfans.org/weishuyu/cosmos-for-pool.git

Index

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