utils

package
Version: v0.0.0-...-b0b1353 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2013 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MeasureI

func MeasureI(name, units string, val int64)

func MeasureT

func MeasureT(name string, t time.Time)

func RoundTime

func RoundTime(t time.Time, d time.Duration) time.Time

func WriteJson

func WriteJson(w http.ResponseWriter, status int, data interface{})

Convenience

func WriteJsonBytes

func WriteJsonBytes(w http.ResponseWriter, status int, b []byte)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL