model

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation added in v1.1.7

type Annotation struct {
	Name   string
	Params []string
}

type AnnotationStore added in v1.1.7

type AnnotationStore map[string][]Annotation

func (AnnotationStore) GetParams added in v1.1.7

func (receiver AnnotationStore) GetParams(key string, annotationName string) []string

func (AnnotationStore) HasAnnotation added in v1.1.7

func (receiver AnnotationStore) HasAnnotation(key string, annotationName string) bool

type Route

type Route struct {
	Name        string
	Method      string
	Pattern     string
	HandlerFunc http.HandlerFunc
}

Route wraps config for route

Jump to

Keyboard shortcuts

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