sdk_life_cycle

package
v0.0.0-...-aeb4a1d Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sdk_life_cycle contains wrappers needed for SDK functionalities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorWrapper

func ErrorWrapper(stub cached_stub.CachedStubInterface, err string) pb.Response

ErrorWrapper is a wrapper for shim.Error

func GetResult

func GetResult(stub cached_stub.CachedStubInterface, function string, returnBytes []byte, returnError error) pb.Response

GetResult is a convenience function for SuccessWrapper and ErrorWrapper

func SuccessWrapper

func SuccessWrapper(stub cached_stub.CachedStubInterface, payload []byte) pb.Response

SuccessWrapper is a wrapper for shim.Success

Types

This section is empty.

Jump to

Keyboard shortcuts

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