controllers

package
v12.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValuesController

type ValuesController struct{}

ValuesController is the equivalent `ValuesController` of the .net core 2.0 mvc application.

func (*ValuesController) Delete

func (vc *ValuesController) Delete()

Delete handles "DELETE" requests to "api/values/{id}".

func (*ValuesController) Get

func (vc *ValuesController) Get() string

Get handles "GET" requests to "api/values/{id}".

func (*ValuesController) Put

func (vc *ValuesController) Put()

Put handles "PUT" requests to "api/values/{id}".

Jump to

Keyboard shortcuts

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