Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Name string `yaml:"name" json:"name"` // the name of the component, e.g. "kuma" Type string `yaml:"type" json:"type"` // the type of the component, e.g. "adapter" NextErrorCode int `yaml:"next_error_code" json:"next_error_code"` // the next error code to use. this value will be updated automatically. // contains filtered or unexported fields }
Info specifies type, name, and the next error code of the current component. Refer to the corresponding design document for valid types and names, extend if necessary.
func (*Info) GetNextErrorCode ¶
GetNextErrorCode returns the next error code (an int) as a string, and increments to the next error code.
Click to show internal directories.
Click to hide internal directories.