codes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2015 License: Apache-2.0, BSD-2-Clause-Views, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package codes is a helper package to help convert to transaction and operation result codes to strings used in horizon.

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownCode = errors.New("Unknown result code")

Functions

func ForOperationResult

func ForOperationResult(opr xdr.OperationResult) (string, error)

func String

func String(code interface{}) (string, error)

String returns the appropriate string representation of the provided result code

Types

This section is empty.

Jump to

Keyboard shortcuts

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