shared

package
v0.0.0-...-4b34b83 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONError

type JSONError struct {
	IP      string `json:"ip"`
	Error   string `json:"error"`
	Message string `json:"message"`
}

JSONError - error struct

type Response

Response - jsust a shortalnd

func AsData

func AsData(ip string, data interface{}) (resp Response, err error)

AsData - simple aws proxy response

func AsError

func AsError(ip string, err error) (Response, error)

AsError - simple aws json error response

Jump to

Keyboard shortcuts

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