types

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: Apache-2.0 Imports: 0 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DivideArgs

type DivideArgs struct {
	// dividend
	A float64 `json:"a"`
	// divisor
	B float64 `json:"b" param:"<range: 0.01:100000>"`
}

DivideArgs divide api args

type DivideReply

type DivideReply struct {
	// quotient
	C float64 `json:"c"`
}

DivideReply divide api result

type HomeReply

type HomeReply struct {
	Content string `json:"content"` // text
}

HomeReply home reply

type StatArgs

type StatArgs struct {
	Ts int64 `json:"ts"` // timestamps
}

StatArgs stat handler args

Jump to

Keyboard shortcuts

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