api

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2017 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCmd

type AddCmd struct {
	Text string
}

type AddDir

type AddDir struct {
	Dir       string
	IncFactor float64
}

type DelSharedVar

type DelSharedVar struct {
	Name string
}

type GetCmds

type GetCmds struct {
	From int
	Upto int
}

type GetDirs

type GetDirs struct {
	Blacklist map[string]struct{}
}

type GetFirstCmd

type GetFirstCmd struct {
	From   int
	Prefix string
}

type GetLastCmd

type GetLastCmd struct {
	Upto   int
	Prefix string
}

type GetPid

type GetPid struct{}

type GetSharedVar

type GetSharedVar struct {
	Name string
}

type NextCmdSeq

type NextCmdSeq struct{}

type Request

type Request struct {
	GetPid *GetPid

	NextCmdSeq  *NextCmdSeq
	AddCmd      *AddCmd
	GetCmds     *GetCmds
	GetFirstCmd *GetFirstCmd
	GetLastCmd  *GetLastCmd

	AddDir  *AddDir
	GetDirs *GetDirs

	GetSharedVar *GetSharedVar
	SetSharedVar *SetSharedVar
	DelSharedVar *DelSharedVar
}

type ResponseHeader

type ResponseHeader struct {
	Error   *string `json:",omitempty"`
	Sending *int    `json:",omitempty"`
}

func (*ResponseHeader) OK

func (h *ResponseHeader) OK() bool

type SetSharedVar

type SetSharedVar struct {
	Name  string
	Value string
}

Jump to

Keyboard shortcuts

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