commonaction

package
v0.0.0-...-6a757b2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 1 Imported by: 0

README

Commonaction 常用控制器动作

该包提供了常用的控制器动作

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SuccessAction = func(w http.ResponseWriter, r *http.Request) {
	_, err := w.Write(successmsg)
	if err != nil {
		panic(err)
	}
}

SuccessAction action which response a "success" msg.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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