status

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RexReturnCode

type RexReturnCode struct {
	Code    int
	Message string
}

RexReturnCode is the return value for every REST call. If the Message is not set, the default status text is returned. the Code reflects an http code which is returned from the REX endpoints. The status.RexReturnCode is also exposed in the creator package.

func RexReturnCodeOk

func RexReturnCodeOk() RexReturnCode

RexReturnCodeOk can be used for 200 returns and no errors

func (RexReturnCode) Error

func (h RexReturnCode) Error() string

Implements the error interface

Jump to

Keyboard shortcuts

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