controllers

package
v10.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 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