at

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package at provides annotations for struct

Package at provides annotations for web RestController

Copyright 2018~now John Deng (hi.devops.io@gmail.com).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation added in v1.2.1

type Annotation struct {
	Value string `json:"-"`
}

Annotation is the abstract annotation

type AnyMapping added in v1.2.0

type AnyMapping struct {
	RequestMapping
	Method string `value:"ANY" json:"-"`
}

AnyMapping is the annotation that set the AnyMapping of a controller

type AutoConfiguration added in v0.9.7

type AutoConfiguration struct {
	Annotation
}

AutoConfiguration is the annotation of auto configuration

type Component added in v0.11.0

type Component struct {
	Annotation
}

Component is the annotation that the dependency is injected in app init.

type ConfigurationProperties added in v0.9.8

type ConfigurationProperties struct {
	Annotation
}

ConfigurationProperties is the annotation that annotate configuration properties

type ContextAware added in v0.11.0

type ContextAware struct {
	Annotation
}

ContextAware is the annotation that it is the ability of a component to be injected when method of Rest Controller is requested.

type Example struct {
  at.ContextAware
  ...
}

type ContextPath added in v0.11.0

type ContextPath struct {
	Annotation
}

ContextPath is the annotation that set the context path of a controller

type DeleteMapping added in v1.2.0

type DeleteMapping struct {
	RequestMapping
	Method string `value:"DELETE" json:"-"`
}

DeleteMapping is the annotation that set the DeleteMapping of a controller

type GetMapping added in v1.2.0

type GetMapping struct {
	RequestMapping
	Method string `value:"GET" json:"-"`
}

GetMapping is the annotation that set the GetMapping of a controller

type HealthCheckService added in v0.10.2

type HealthCheckService struct {
	Annotation
}

HealthCheckService is the annotation for health check service

type JwtRestController added in v0.11.0

type JwtRestController struct {
	Annotation
}

JwtRestController is the annotation that declare current controller is the RESTful Controller with JWT support

type Method added in v1.2.0

type Method struct {
	Annotation
}

Method is the annotation that set the RequestMethod of a controller

type OptionsMapping added in v1.2.0

type OptionsMapping struct {
	RequestMapping
	Method string `value:"OPTIONS" json:"-"`
}

OptionsMapping is the annotation that set the OptionsMapping of a controller

type PatchMapping added in v1.2.1

type PatchMapping struct {
	RequestMapping
	Method string `value:"PATCH" json:"-"`
}

PatchMapping is the annotation that set the PatchMapping of a controller

type PostMapping added in v1.2.0

type PostMapping struct {
	RequestMapping
	Method string `value:"POST" json:"-"`
}

PostMapping is the annotation that set the PostMapping of a controller

type PutMapping added in v1.2.0

type PutMapping struct {
	RequestMapping
	Method string `value:"PUT" json:"-"`
}

PutMapping is the annotation that set the PutMapping of a controller

type Qualifier

type Qualifier struct {
	Annotation
}

Qualifier is the annotation that used for disambiguate the references.

type RequestBody added in v0.11.0

type RequestBody struct {
	Annotation
}

RequestBody the annotation RequestBody

type RequestForm added in v0.11.0

type RequestForm struct {
	Annotation
}

RequestForm the annotation RequestForm

type RequestMapping added in v1.2.0

type RequestMapping struct {
	Annotation
}

RequestMapping is the annotation that set the RequestMapping of a controller

type RequestParams added in v0.11.0

type RequestParams struct {
	Annotation
}

RequestParams the annotation RequestParams

type ResponseBody added in v0.11.0

type ResponseBody struct {
	Annotation
}

ResponseBody the annotation ResponseBody

type ResponseData added in v0.11.0

type ResponseData struct {
	Annotation
}

ResponseData the annotation ResponseData

type RestController added in v0.9.7

type RestController struct {
	Annotation
}

RestController is the annotation that declare current controller is the RESTful Controller

type Tag added in v1.2.0

type Tag struct {
	Annotation
}

Tag the annotation Tag, tell the injector that the struct implements a tag

type TraceMapping added in v1.2.1

type TraceMapping struct {
	RequestMapping
	Method string `value:"TRACE" json:"-"`
}

TraceMapping is the annotation that set the TraceMapping of a controller

Jump to

Keyboard shortcuts

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