resource

package
v0.0.0-...-e503d75 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexStatForm

type IndexStatForm struct {
	Id       []string `form:"id[]" binding:"required"`
	Provider string   `form:"provider" binding:"required"`
}

type StatResource

type StatResource struct {
	Db gorm.DB
}

func (*StatResource) BatchUpdate

func (resource *StatResource) BatchUpdate(interval int)

func (*StatResource) Index

func (resource *StatResource) Index(c *gin.Context)

func (*StatResource) Show

func (resource *StatResource) Show(c *gin.Context)

func (*StatResource) Store

func (resource *StatResource) Store(c *gin.Context)

type StoreStatForm

type StoreStatForm struct {
	Url      string `form:"url" binding:"required"`
	Provider string `form:"provider" binding:"required"`
}

Jump to

Keyboard shortcuts

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