componets

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 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 Response

type Response struct {
	// contains filtered or unexported fields
}

func NewResponse

func NewResponse() (r *Response)

func (*Response) Append

func (r *Response) Append(key string, value interface{}) *Response

func (*Response) Code

func (r *Response) Code(code int) *Response

func (*Response) Error

func (r *Response) Error(msg string) *Response

func (*Response) JSON

func (r *Response) JSON(c *gin.Context)

func (*Response) Message

func (r *Response) Message(msg string) *Response

Jump to

Keyboard shortcuts

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