Versions in this module Expand all Collapse all v0 v0.6.0 Sep 29, 2026 v0.5.0 Sep 28, 2026 Changes in this version + const SocketName + var ErrNoDaemon = errors.New("awp daemon is not running") + func Serve(ctx context.Context, home string, h Handler) error + func SocketPath(home string) (string, error) + type Client struct + Home string + func (c *Client) Call(ctx context.Context, method string, params, out any) error + func (c *Client) Running() bool + func (c *Client) Stream(ctx context.Context, method string, params any, fn func(json.RawMessage) error) error + type Handler interface + Call func(ctx context.Context, method string, params json.RawMessage) (any, error) + Stream func(ctx context.Context, method string, params json.RawMessage, ...) (bool, error) + type Reply struct + Error string + Event json.RawMessage + Result json.RawMessage + type Request struct + Method string + Params json.RawMessage