extra_file

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExportExtraFileEndpoint = &xreq.Endpoint{
	RegisterHandler: func(router *mux.Router) *mux.Route {
		return router.PathPrefix("/configs/extra_files/").Methods(http.MethodGet)
	},
	Handler:    xreq.RawConvert(ExportExtraFileAction),
	Authorizer: iauth.FA(iauth.FeatureExtraFile, iauth.ActionExport),
}

ExportRoute route AUTO GEN BY ctrl, MODIFY AS U NEED

Functions

func ExportExtraFileAction

func ExportExtraFileAction(req *http.Request) (interface{}, error)

ExportExtraFileAction action AUTO GEN BY ctrl, MODIFY AS U NEED

func ExportExtraFileActionProcess

func ExportExtraFileActionProcess(req *http.Request, fileName string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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