v1

package
v4.0.0-...-755bc99 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	Chain   `mir:"-"`
	Group   `mir:"v1"`
	User    func(Get, Chain)             `mir:"/user/"`
	DelUser func(Delete, Chain)          `mir:"/user/"`
	Teams   func(Head, Get, Post, Chain) `mir:"/teams/:category/"`
	Quit    func(Post)                   `mir:"/user/quit/"`
}

Admin admin v1 interface info

type Site

type Site struct {
	Chain            `mir:"-"`
	Group            `mir:"v1"`
	Index            func(Get, Chain)                         `mir:"/index/"`
	AnyTopics        func(Chain)                              `mir:"/topics/"`
	Articles         func(Head, Get, Post, Chain)             `mir:"/articles/:category/"`
	Logout           func(Post)                               `mir:"/user/logout/"`
	Assets           func(Get, Context)                       `mir:"/assets/:name/"`
	AnyStaticks      func(Any, Context)                       `mir:"/anystaticks/:name/"`
	ManyResources    func(Get, Head, Options, Context)        `mir:"/resources/:name/"`
	MultiAttachments func(Get, Head, Options, Chain, Context) `mir:"/attachments/:name/"`
}

Site site v1 interface info

Jump to

Keyboard shortcuts

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