Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Attach(node tree.Node) error
- func (c *Client) Detach(reason string) error
- func (c *Client) Frame() *frames.Framer
- func (c *Client) Margins() *screen.Margins
- func (c *Client) Node() tree.Node
- func (c *Client) OuterLayers() *screen.Layers
- func (c *Client) Params() *params.Parameters
- func (c *Client) Resize(size geom.Vec2)
- type ClientID
- type Connection
- type Cy
- type CyModule
- func (c *CyModule) Detach(user interface{})
- func (i *CyModule) Documentation() string
- func (c *CyModule) Get(user interface{}, key *janet.Value) (interface{}, error)
- func (c *CyModule) KillServer()
- func (c *CyModule) Log(level *janet.Value, text string) error
- func (c *CyModule) Paste(user interface{})
- func (c *CyModule) Replay(user interface{})
- func (c *CyModule) Set(user interface{}, key *janet.Value, value *janet.Value) error
- func (c *CyModule) Toast(context interface{}, level *janet.Value, message string) error
- type Environment
- type Options
- type ToastLogger
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KEYWORD_INFO = janet.Keyword("info") KEYWORD_WARN = janet.Keyword("warn") KEYWORD_ERROR = janet.Keyword("error") )
View Source
var CY_BOOT_FILE []byte
View Source
var DOCS_CY string
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) OuterLayers ¶ added in v0.1.6
func (*Client) Params ¶ added in v0.1.6
func (c *Client) Params() *params.Parameters
type Cy ¶
type CyModule ¶ added in v0.1.6
type CyModule struct {
// contains filtered or unexported fields
}
func (*CyModule) Documentation ¶ added in v0.1.6
func (*CyModule) KillServer ¶ added in v0.1.6
func (c *CyModule) KillServer()
type Environment ¶ added in v0.1.6
func (Environment) Default ¶ added in v0.1.6
func (e Environment) Default(key string, defaultValue string) string
func (Environment) IsSet ¶ added in v0.1.6
func (e Environment) IsSet(key string) bool
type ToastLogger ¶ added in v0.1.5
type ToastLogger struct {
// contains filtered or unexported fields
}
func NewToastLogger ¶ added in v0.1.5
func NewToastLogger(send func(toasts.Toast)) *ToastLogger
func (*ToastLogger) Error ¶ added in v0.1.5
func (t *ToastLogger) Error(msg string)
func (*ToastLogger) Info ¶ added in v0.1.5
func (t *ToastLogger) Info(msg string)
func (*ToastLogger) Send ¶ added in v0.1.5
func (t *ToastLogger) Send(toast toasts.Toast)
func (*ToastLogger) Warn ¶ added in v0.1.5
func (t *ToastLogger) Warn(msg string)
Click to show internal directories.
Click to hide internal directories.