controllers

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerCheck

type ControllerCheck struct {
	*ControllerCommon
}

func NewControllerCheck

func NewControllerCheck(common *ControllerCommon) *ControllerCheck

func (ControllerCheck) CheckMobileAccess

func (i ControllerCheck) CheckMobileAccess(ctx *gin.Context)

swagger:operation GET /check/mobile_access check --- summary: mobile access connection page description: consumes: - text/plain produces: - text/plain tags: - check responses:

  "200":
	   description: Success response

func (ControllerCheck) CheckMobileAccessToken

func (i ControllerCheck) CheckMobileAccessToken(ctx *gin.Context)

swagger:operation GET /check/mobile_access_token check --- summary: mobile access token check page description: security: - ServerAuthorization: [] consumes: - text/plain produces: - text/plain tags: - check responses:

  "200":
	   description: Success response
  "400":
	   description: Bad request
  "404":
	   description: Not found

type ControllerCommon

type ControllerCommon struct {
	// contains filtered or unexported fields
}

func NewControllerCommon

func NewControllerCommon(adaptors *adaptors.Adaptors,
	endpoint endpoint.IEndpoint) *ControllerCommon

type ControllerIndex

type ControllerIndex struct {
	*ControllerCommon
}

func NewControllerIndex

func NewControllerIndex(common *ControllerCommon) *ControllerIndex

func (ControllerIndex) Index

func (i ControllerIndex) Index(c *gin.Context)

swagger:operation GET / index --- summary: index page description: consumes: - text/plain produces: - text/plain tags: - index responses:

  "200":
	   description: Success response

type ControllerSwagger

type ControllerSwagger struct {
	*ControllerCommon
}

func NewControllerSwagger

func NewControllerSwagger(common *ControllerCommon) *ControllerSwagger

func (ControllerSwagger) WrapHandler

func (c ControllerSwagger) WrapHandler(h *webdav.Handler) gin.HandlerFunc

type Controllers

type Controllers struct {
	Index   *ControllerIndex
	Swagger *ControllerSwagger
	Check   *ControllerCheck
}

func NewControllers

func NewControllers(adaptors *adaptors.Adaptors,
	endpoint endpoint.IEndpoint) *Controllers

Jump to

Keyboard shortcuts

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