microhelpers

package module
v0.0.0-...-e8ea61a Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 License: MIT Imports: 8 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

microhelpers

A collection of helpers for golang microservice applications

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(addresses []string, handler http.Handler, logger ...io.Writer) error

func ParseBool

func ParseBool(flags []string, envs []string, defaultValue bool, args []string) (bool, error)

func ParseFloat32

func ParseFloat32(flags []string, envs []string, defaultValue float32, args []string) (float32, error)

func ParseFloat64

func ParseFloat64(flags []string, envs []string, defaultValue float64, args []string) (float64, error)

func ParseInt

func ParseInt(flags []string, envs []string, defaultValue int, args []string) (int, error)

func ParseInt8

func ParseInt8(flags []string, envs []string, defaultValue int8, args []string) (int8, error)

func ParseInt16

func ParseInt16(flags []string, envs []string, defaultValue int16, args []string) (int16, error)

func ParseInt32

func ParseInt32(flags []string, envs []string, defaultValue int32, args []string) (int32, error)

func ParseInt64

func ParseInt64(flags []string, envs []string, defaultValue int64, args []string) (int64, error)

func ParseString

func ParseString(flags []string, envs []string, defaultValue string, args []string) (string, error)

func ParseUint

func ParseUint(flags []string, envs []string, defaultValue uint, args []string) (uint, error)

func ParseUint8

func ParseUint8(flags []string, envs []string, defaultValue uint8, args []string) (uint8, error)

func ParseUint16

func ParseUint16(flags []string, envs []string, defaultValue uint16, args []string) (uint16, error)

func ParseUint32

func ParseUint32(flags []string, envs []string, defaultValue uint32, args []string) (uint32, error)

func ParseUint64

func ParseUint64(flags []string, envs []string, defaultValue uint64, args []string) (uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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