admin

package
v0.0.0-...-c266f6d Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListForm

type ListForm struct {
	Id      int    `form:"id"`
	Keyword string `form:"keyword"`
}

type Node

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

func NewNode

func NewNode() *Node

func (*Node) Del

func (n *Node) Del(ctx *gin.Context)

func (*Node) List

func (n *Node) List(ctx *gin.Context)

func (*Node) Upsert

func (n *Node) Upsert(ctx *gin.Context)

type Site

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

func NewSite

func NewSite() *Site

func (*Site) Craw

func (s *Site) Craw(ctx *gin.Context)

func (*Site) Del

func (s *Site) Del(ctx *gin.Context)

func (*Site) List

func (s *Site) List(ctx *gin.Context)

func (*Site) Upsert

func (s *Site) Upsert(ctx *gin.Context)

type SiteQueryForm

type SiteQueryForm struct {
	Id      int    `form:"id"`
	Keyword string `form:"keyword"`
}

type UpsertForm

type UpsertForm struct {
	ID     int    `form:"id"`
	Name   string `form:"name"`
	Addr   string `form:"addr"`
	Type   int8   `form:"type"`
	Enable int8   `form:"enable"`
}

type UpsertSiteForm

type UpsertSiteForm struct {
	ID     int    `form:"id"`
	Name   string `form:"name"`
	Addr   string `form:"addr"`
	Type   int8   `form:"type"`
	Enable int8   `form:"enable"`
}

Jump to

Keyboard shortcuts

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