common

package
v0.7.32 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppHook = "odin"
)

Variables

This section is empty.

Functions

func Atoi

func Atoi(val string) int64

Atoi converts the given string into an int64. Panics on errors.

func Atoui

func Atoui(val string) uint64

Atoui converts the given string into an uint64. Panics on errors.

func QueryResultError

func QueryResultError(err error) abci.ResponseQuery

func QueryResultSuccess

func QueryResultSuccess(value []byte, height int64) abci.ResponseQuery

Types

type EvMap

type EvMap map[string][]string

EvMap is a type alias for SDK events mapping from Attr.Key to the list of values.

func ParseEvents

func ParseEvents(events sdk.StringEvents) EvMap

type JsDict

type JsDict map[string]interface{}

JsDict is a type alias for JSON dictionary.

type Message

type Message struct {
	Key   string
	Value JsDict
}

Message is a simple wrapper data type for each message published to Kafka.

Jump to

Keyboard shortcuts

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