Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiEndpoint ¶ added in v0.13.0
type FormApiEndpoint ¶ added in v0.13.0
type FormApiRoute ¶ added in v0.13.0
type NormalEndpoint ¶ added in v0.13.0
type NormalRoute ¶ added in v0.13.0
type RouteGroup ¶ added in v0.8.6
func NewRouteGroup ¶ added in v0.8.6
func NewRouteGroup(router *Router, prefix string) *RouteGroup
func (*RouteGroup) Register ¶ added in v0.8.6
func (r *RouteGroup) Register(handlers ...pyrin.Handler)
type Server ¶
type Server struct { ErrorTypes []string `json:"errorTypes"` Types []Type `json:"types"` ApiEndpoints []ApiEndpoint `json:"apiEndpoints"` FormApiEndpoints []FormApiEndpoint `json:"formApiEndpoints"` NormalEndpoints []NormalEndpoint `json:"normalEndpoints"` }
func GenerateSpec ¶ added in v0.8.6
Click to show internal directories.
Click to hide internal directories.