result

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const AUTH_FAIL string = "auth fail"
View Source
const FAIL string = "fail"
View Source
const INVALID_AUTH_TOKEN string = "Invalid Auth Token"
View Source
const INVALID_MANUFACTURER_NAME string = "invalid manufacturer name"
View Source
const NO_INSTANCE string = "has no manufacturer instance"
View Source
const SUCCESS string = "success"
View Source
const TIMEOUT string = "timeout"

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Code    int
	Message string
	Data    string
}

func AuthFail

func AuthFail() Result

func Fail

func Fail(data string) Result

func InvalidAuthToken

func InvalidAuthToken() Result

func InvalidManufacturerName

func InvalidManufacturerName() Result

func NoInstance

func NoInstance() Result

func Success

func Success(data string) Result

func Timeout

func Timeout() Result

Jump to

Keyboard shortcuts

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