router

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListResponse

type ListResponse struct {
	Result []*schema.Request `json:"result"`
}

ListResponse list latest requests response

type Request added in v0.2.0

type Request struct {
	// contains filtered or unexported fields
}

func NewRequest added in v0.2.0

func NewRequest(model *model.Request) *Request

func (*Request) ListRequests added in v0.2.0

func (r *Request) ListRequests(c *gin.Context)

ListRequests list requests

func (*Request) RecordRequest added in v0.2.0

func (r *Request) RecordRequest(c *gin.Context)

RecordRequest record a request

Jump to

Keyboard shortcuts

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