bizapis

package
v0.0.0-...-693d502 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseInput

func ParseInput(request *restful.Request, response *restful.Response, requestLogger logr.Logger, params ...string) ([]string, error)

func ReadHttpPostBody

func ReadHttpPostBody(request *restful.Request, response *restful.Response, requestLogger logr.Logger) ([]byte, error)

func SetEngineStatus

func SetEngineStatus(request *restful.Request, response *restful.Response)

func SetRw

func SetRw(request *restful.Request, response *restful.Response)

func Start

func Start()

Types

type ResponseWithMsg

type ResponseWithMsg struct {
	Status string                 `json:"status"`
	Msg    map[string]interface{} `json:"msg"`
}

func ResponseSucInitFactory

func ResponseSucInitFactory() *ResponseWithMsg

Jump to

Keyboard shortcuts

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