package
0.0.0-20221025074851-074395fc7d04
Repository: https://github.com/ztalab/zamanager.git
Documentation: pkg.go.dev
# Functions
@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].
@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].
@Summary MachineOauth @Description 机器鉴权 @Tags ZTA ControlPlane @Produce json @Param hash path string true "hash" @Success 200 {object} controller.Res @Router /a/{hash} [get].