dto

package
v0.0.0-...-db83385 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 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 HttpResponse

type HttpResponse struct {
	Message string      `json:"message,omitempty" example:"ok"`
	Result  interface{} `json:"result,omitempty"`
}

func GenericBadResponseResponse

func GenericBadResponseResponse() *HttpResponse

func SimpleMessageResponse

func SimpleMessageResponse(arg ...string) *HttpResponse

func SimpleResponse

func SimpleResponse(result interface{}, arg ...string) *HttpResponse

Jump to

Keyboard shortcuts

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