Documentation ¶
Index ¶
- Variables
- func DecodeMessage(rd io.Reader) (interface{}, error)
- func EncodeMessage(msg interface{}) ([]byte, error)
- func ExitServer()
- func Line(fileIndex, debugIndex, offset int, item Item)
- func ReducedSprintf(max int, format string, a ...interface{}) string
- func RegisterStructure(v interface{})
- func StartServer()
- type AnnotatorFileData
- type CConn
- type Ctx
- func (ctx *Ctx) Value(name string) (interface{}, *Ctx)
- func (ctx *Ctx) ValueBool(name string) bool
- func (ctx *Ctx) ValueInInterface(depth int) bool
- func (ctx *Ctx) ValueIntM1(name string) int
- func (ctx *Ctx) WithInInterface(depth int) *Ctx
- func (ctx *Ctx) WithValue(name string, value interface{}) *Ctx
- type FilesDataMsg
- type Item
- func IA(lhs, rhs *ItemList) Item
- func IAn() Item
- func IB(result Item, op int, x, y Item) Item
- func IBr() Item
- func IC(name string, result Item, args ...Item) Item
- func ICe(name string, args ...Item) Item
- func II(result, expr, index Item) Item
- func II2(result, expr, low, high, max Item, slice3 bool) Item
- func IKV(key, value Item) Item
- func IL2(u ...Item) Item
- func ILa() Item
- func ILit(fields ...Item) Item
- func IP(x Item) Item
- func IS(ch, value Item) Item
- func ISel(x, sel Item) Item
- func ISt() Item
- func ITA(x, t Item) Item
- func IU(result Item, op int, x Item) Item
- func IUe(op int, x Item) Item
- func IV(v V) Item
- func IVl(v V) Item
- func IVs(s string) Item
- func IVt(v V) Item
- type ItemAnon
- type ItemAssign
- type ItemBinary
- type ItemBranch
- type ItemCall
- type ItemCallEnter
- type ItemIndex
- type ItemIndex2
- type ItemKeyValue
- type ItemLabel
- type ItemList
- type ItemList2
- type ItemLiteral
- type ItemParen
- type ItemSelector
- type ItemSend
- type ItemStep
- type ItemTypeAssert
- type ItemUnary
- type ItemUnaryEnter
- type ItemValue
- type LimitedWriter
- type LineMsg
- type Print
- type ReqFilesDataMsg
- type ReqStartMsg
- type Server
- type V
Constants ¶
This section is empty.
Variables ¶
View Source
var AnnotatorFilesData []*AnnotatorFileData // all debug data
Vars populated at init by godebugconfig pkg (generated at compile).
View Source
var LimitReachedErr = fmt.Errorf("limit reached")
View Source
var ServerAddress string
View Source
var ServerNetwork string
View Source
var SyncSend bool // don't send in chunks (usefull to get msgs before crash)
Functions ¶
func DecodeMessage ¶
func EncodeMessage ¶
func ReducedSprintf ¶
func RegisterStructure ¶
func RegisterStructure(v interface{})
Types ¶
type AnnotatorFileData ¶
type Ctx ¶
type Ctx struct { Parent *Ctx // name/value (short names to avoid usage, still exporting it) N string V interface{} }
func (*Ctx) ValueInInterface ¶
func (*Ctx) ValueIntM1 ¶
func (*Ctx) WithInInterface ¶
type FilesDataMsg ¶
type FilesDataMsg struct {
Data []*AnnotatorFileData
}
type ItemAssign ¶
type ItemAssign struct {
Lhs, Rhs *ItemList
}
type ItemBinary ¶
type ItemBranch ¶
type ItemBranch struct{}
type ItemCallEnter ¶
type ItemIndex2 ¶
type ItemKeyValue ¶
type ItemLiteral ¶
type ItemLiteral struct {
Fields *ItemList
}
type ItemSelector ¶
type ItemTypeAssert ¶
type ItemUnaryEnter ¶
type LimitedWriter ¶
type LimitedWriter struct {
// contains filtered or unexported fields
}
func NewLimitedWriter ¶
func NewLimitedWriter(size int) *LimitedWriter
func (*LimitedWriter) Bytes ¶
func (w *LimitedWriter) Bytes() []byte
type Print ¶
type ReqFilesDataMsg ¶
type ReqFilesDataMsg struct{}
type ReqStartMsg ¶
type ReqStartMsg struct{}
Click to show internal directories.
Click to hide internal directories.