scrub

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AuxiliaryName = "scrub"
View Source
const AuxiliaryRoute = mapper.TransactionRoute + "/" + AuxiliaryName

Variables

View Source
var Auxiliary = base.NewAuxiliary(
	mapper.ModuleName,
	AuxiliaryName,
	AuxiliaryRoute,
	initializeAuxiliaryKeeper,
)
View Source
var AuxiliaryMock = base.NewAuxiliary(
	mapper.ModuleName,
	AuxiliaryName,
	AuxiliaryRoute,
	initializeAuxiliaryKeeperMock,
)

Functions

func GetPropertiesFromResponse

func GetPropertiesFromResponse(auxiliaryResponse helpers.AuxiliaryResponse) (types.Properties, error)

func NewAuxiliaryRequest

func NewAuxiliaryRequest(metaPropertyList ...types.MetaProperty) helpers.AuxiliaryRequest

Types

type AuxiliaryResponse

type AuxiliaryResponse struct {
	Success    bool             `json:"success"`
	Error      error            `json:"error"`
	Properties types.Properties `json:"properties"`
}

func (AuxiliaryResponse) GetError

func (auxiliaryResponse AuxiliaryResponse) GetError() error

func (AuxiliaryResponse) IsSuccessful

func (auxiliaryResponse AuxiliaryResponse) IsSuccessful() bool

Jump to

Keyboard shortcuts

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