Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Render = apis.ApiSpec{ Path: "/api/component-protocol/actions/render", Scheme: "http", Method: "POST", Custom: protocolRender, RequestType: apistructs.ComponentProtocolRequest{}, ResponseType: apistructs.ComponentProtocolResponse{}, Doc: "某场景下,用户操作,触发后端业务逻辑,重新渲染协议", CheckLogin: true, CheckToken: true, IsOpenAPI: true, }
Functions ¶
func GetIdentity ¶
func GetIdentity(r *http.Request) (i apistructs.Identity, err error)
func RenderResponse ¶
func RenderResponse(req *apistructs.ComponentProtocolRequest) *apistructs.ComponentProtocolResponse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.