controllers

package
v0.0.0-...-de6a34d Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Json

func Json(ctx *gin.Context)

func Jsonp

func Jsonp(ctx *gin.Context)

可以理解为返回一个js文件

func Like

func Like(ctx *gin.Context)

func LikeInfo

func LikeInfo(ctx *gin.Context)

func R1

func R1(ctx *gin.Context)

用http协议调用第三方服务

func R2

func R2(ctx *gin.Context)

模拟第三方服务

func Testgrpc

func Testgrpc(ctx *gin.Context)

func URLEncode

func URLEncode(ctx *gin.Context)

POST /testgin/urlencode?id=1234&page=1 HTTP/1.1 Content-Type: application/x-www-form-urlencoded

username=alice&password=1234

Types

This section is empty.

Jump to

Keyboard shortcuts

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