controller

package
v0.0.0-...-074395f Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginUrl

func LoginUrl(c *gin.Context)

@Summary LoginUrl @Description 根据机器码获取客户端鉴权的url @Tags ZTA ControlPlane @Produce json @Param machine_id path string true "machine_id" @Success 200 {object} controller.Res @Router /controlplane/machine/{machine_id} [get]

func MachineLongPoll

func MachineLongPoll(c *gin.Context)

@Summary MachineLongPoll @Description 机器鉴权 @Tags ZTA ControlPlane @Produce json @Param category query string true "轮询的主题" @Param timeout query int true "超时时间,单位:秒" @Success 200 {object} controller.Res @Router /machine/auth/poll [get]

func MachineOauth

func MachineOauth(c *gin.Context)

@Summary MachineOauth @Description 机器鉴权 @Tags ZTA ControlPlane @Produce json @Param hash path string true "hash" @Success 200 {object} controller.Res @Router /a/{hash} [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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