constant

package
v0.0.0-...-3b05df2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name       = "ink"
	CtlName    = "inkctl"
	DaemonName = "inkd"
	WorkerName = "inker"
)
View Source
const DefaultWaitTime = 60

DefaultWaitTime defines the default waiting time(second)

View Source
const WorkspacePath = "/ink/src"

Variables

View Source
var (
	ErrAlreadyExists = errors.New("already exists")
	ErrNoRecord      = errors.New("no record")
	ErrInvalidName   = errors.New("invalid name")
)
View Source
var DefaultHTTPTimeout = time.Second * 30

DefaultHTTPTimeout defines the default http request timeout

Functions

This section is empty.

Types

type HTTPError

type HTTPError struct {
	Code int
	Err  string
}

func NewHTTPError

func NewHTTPError(code int, msg string) *HTTPError

func (*HTTPError) Error

func (e *HTTPError) Error() string

Jump to

Keyboard shortcuts

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