nomockutil

package
v0.0.0-...-78f112e Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2016 License: MIT, MIT Imports: 8 Imported by: 0

README

nomockutil

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) bool

func GetSubjectInToken

func GetSubjectInToken(tokenString string) (subject string, err error)

func ValidateServiceName

func ValidateServiceName(serviceName string) error

func WriteError

func WriteError(statusCode int, w http.ResponseWriter, err error)

func WriteErrorIfAny

func WriteErrorIfAny(statusCode int, w http.ResponseWriter, err error)

func WriteObjectOrErr

func WriteObjectOrErr(w http.ResponseWriter, dataObj interface{}, errStatusCode int, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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