Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Demo ¶
type Demo struct {
// contains filtered or unexported fields
}
func (*Demo) Auth ¶
func (d *Demo) Auth() core.HandlerFunc
获取授权信息 @Summary 获取授权信息 @Description 获取授权信息 @Tags Demo @Accept json @Produce json @Success 200 {object} authResponse "返回信息" @Router /auth/get [post]
func (*Demo) Get ¶
func (d *Demo) Get() core.HandlerFunc
func (*Demo) Post ¶
func (d *Demo) Post() core.HandlerFunc
func (*Demo) Trace ¶
func (d *Demo) Trace() core.HandlerFunc
Trace 示例 @Summary Trace 示例 @Description Trace 示例 @Tags Demo @Accept json @Produce json @Param Authorization header string true "签名" @Success 200 {object} traceResponse "用户信息" @Router /demo/trace [get]
Click to show internal directories.
Click to hide internal directories.