annotation

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	APIQuery thrift.AnnoType = 1 + iota
	APIPath
	APIHeader
	APICookie
	APIBody
	APIHTTPCode
	APIRawBody
	APIPostForm
	APIRawUri
	APINoBodyStruct
)
View Source
const (
	APIKey thrift.AnnoType = 501

	APIKeyName string = "api.key"
)
View Source
const (
	ToSnake    thrift.AnnoType = 401
	ToLowCamel thrift.AnnoType = 402
)
View Source
const (
	JSConv                      = thrift.AnnoType(types.VM_JSCONV)
	BodyDynamic thrift.AnnoType = thrift.AnnoType(257)
)

Variables

View Source
var (
	NameCaseKeys = []string{"agw.to_snake", "janus.to_snake", "agw.to_lower_camel_case", "janus.to_lower_camel_case"}
)

Functions

func FindAnnotations

func FindAnnotations(anns []*parser.Annotation, keys ...string) (ret []*parser.Annotation)

func InitAGWAnnos added in v0.2.5

func InitAGWAnnos()

This is only used for internal specifications. DO NOT USE IT if you don't know related annotations

Types

This section is empty.

Jump to

Keyboard shortcuts

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