Documentation ¶
Index ¶
Constants ¶
View Source
const GZIP_FILE_NAME = "kloud_arch.tar.gz"
Variables ¶
View Source
var ( API_BUILD_STATIC = "http://0.0.0.0:3000/api/core/build/%s/%s" API_BUILD_STATIC_CONTENT_TYPE = "application/javascript" )
View Source
var (
ErrWorkDirectory = fmt.Errorf("error bad workDirectory")
)
Functions ¶
func Exit ¶
func Exit(err error)
Exit close program, we have a error, show error and clear exit program
func PanicHandler ¶
func PanicHandler()
PanicHandler is called to recover from an internal panic in Kloud, and augments the standard stack trace with a more user friendly error message. PanicHandler must be called as a deferred function, and must be the first defer called at the start of a new goroutine.
Types ¶
Click to show internal directories.
Click to hide internal directories.