builtin

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package builtin lists Puffs' built-in concepts such as status codes.

Index

Constants

This section is empty.

Variables

View Source
var StatusList = [...]Status{
	{0, "ok"},
	{t.IDError, "bad puffs version"},
	{t.IDError, "bad receiver"},
	{t.IDError, "bad argument"},
	{t.IDError, "initializer not called"},
	{t.IDError, "invalid I/O operation"},
	{t.IDError, "closed for writes"},
	{t.IDError, "unexpected EOF"},
	{t.IDSuspension, "short read"},
	{t.IDSuspension, "short write"},
}
View Source
var StatusMap = map[string]Status{}

Functions

func TrimQuotes

func TrimQuotes(s string) string

Types

type Status

type Status struct {
	Keyword t.ID
	Message string
}

func (Status) String

func (z Status) String() string

Jump to

Keyboard shortcuts

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