message

package
v0.0.0-...-e86600b Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Object  interface{} `json:"object,omitempty"`
}

func Failed

func Failed() Message

func FailedWithObject

func FailedWithObject(object interface{}) Message

func Success

func Success() Message

func SuccessWithObject

func SuccessWithObject(object interface{}) Message

Jump to

Keyboard shortcuts

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