handlers

package
v0.0.0-...-e1cd4d3 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(response http.ResponseWriter, request *http.Request)

Add adds two numbers

func Cbrt

func Cbrt(response http.ResponseWriter, request *http.Request)

Cbrt is the cubed root of a number

func Div

func Div(response http.ResponseWriter, request *http.Request)

Div is the division of two numbers

func GetRouter

func GetRouter() *mux.Router

GetRouter returns the router configuration

func Hello

func Hello(response http.ResponseWriter, request *http.Request)

Hello is the response for /

func Mult

func Mult(response http.ResponseWriter, request *http.Request)

Mult is the multiplication of two numbers

func Sqrt

func Sqrt(response http.ResponseWriter, request *http.Request)

Sqrt is the square root of a number

func Sub

func Sub(response http.ResponseWriter, request *http.Request)

Sub is the difference between two numbers

Types

This section is empty.

Jump to

Keyboard shortcuts

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