controller

package
v0.0.0-...-8e02209 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseController

type BaseController struct {
}

func (*BaseController) DefaultQueryInt64

func (s *BaseController) DefaultQueryInt64(c *gin.Context, key string) (int64, error)

func (*BaseController) DefaultQueryInt641

func (s *BaseController) DefaultQueryInt641(c *gin.Context, key string, value string) (int64, error)

func (*BaseController) ParamInt64

func (s *BaseController) ParamInt64(c *gin.Context, key string) (int64, error)

func (*BaseController) PostFormInt64

func (s *BaseController) PostFormInt64(c *gin.Context, key string) (int64, error)

type VersionController

type VersionController struct {
	BaseController
}

func NewVersionController

func NewVersionController(context *service.AppContext) (*VersionController, error)

func (*VersionController) GetVersion

func (s *VersionController) GetVersion(c *gin.Context)

Jump to

Keyboard shortcuts

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