v3

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Site

type Site struct {
	Group            `mir:"v3"`
	Index            func(Get)                                               `mir:"/index/"`
	Articles         func(Get)                                               `mir:"/articles/:category/"`
	NextTweets       func(Any, model.TweetsReq) model.TweetsResp             `mir:"/tweets/next/" render:"jsonp"`
	PrevTweets       func(Post, Get, Head, model.TweetsReq) model.TweetsResp `mir:"/tweets/prev/"`
	Login            func(Post, model.LoginReq) model.LoginResp              `mir:"/user/login/"`
	Logout           func(Post)                                              `mir:"/user/logout/"`
	Assets           func(Get, Context)                                      `mir:"/assets/:name/"`
	Statics          func(Get, Context, model.LoginReq)                      `mir:"/statics/: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 v3 interface info

Jump to

Keyboard shortcuts

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