context

package
v0.2103.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package context implements common context helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCtxWithGenesisInfo

func GetCtxWithGenesisInfo(genesis *genesisAPI.Document) context.Context

GetCtxWithGenesisInfo returns a new context with values that contain additional from the given genesis file (e.g. token's symbol and token value's base-10 exponent, genesis document's hash).

Types

This section is empty.

Jump to

Keyboard shortcuts

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