Documentation ¶
Index ¶
- func Exists(path string) bool
- func GetSubjectInToken(tokenString string) (subject string, err error)
- func ValidateServiceName(serviceName string) error
- func WriteError(statusCode int, w http.ResponseWriter, err error)
- func WriteErrorIfAny(statusCode int, w http.ResponseWriter, err error)
- func WriteObjectOrErr(w http.ResponseWriter, dataObj interface{}, errStatusCode int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSubjectInToken ¶
func ValidateServiceName ¶
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.
Click to show internal directories.
Click to hide internal directories.