Versions in this module Expand all Collapse all v0 v0.2.0 Jun 28, 2026 Changes in this version + type Client = server.Client + type Engine struct + DisableExecJS bool + DisconnectBadgeHTML string + DisconnectHTML string + FixedAuthToken string + Host string + NoAuth bool + NoBrowser bool + Port int + Quiet bool + func NewEngine() *Engine + func (a *Engine) Auth() middleware.AuthFunc + func (a *Engine) AuthMiddleware(next http.Handler) http.Handler + func (a *Engine) BindClients(cs server.ClientSource) + func (a *Engine) Cleanup() + func (a *Engine) ClientModules() map[string]string + func (a *Engine) Clients() []*Client + func (a *Engine) ClientsWith(capability string) []*Client + func (a *Engine) EmbeddedJS() (string, string, string) + func (a *Engine) ExecJSDisabled() bool + func (a *Engine) GetDisconnectBadgeHTML() string + func (a *Engine) GetDisconnectHTML() string + func (a *Engine) GetFaviconSVG() string + func (a *Engine) GodomScriptPath() string + func (a *Engine) Islands() []*island.Info + func (a *Engine) ListenAndServe() error + func (a *Engine) Mux() *http.ServeMux + func (a *Engine) PluginScripts() map[string][]string + func (a *Engine) QuickServe(isl interface{}) error + func (a *Engine) Register(islands ...interface{}) + func (a *Engine) RegisterClientModule(name, js string) + func (a *Engine) RegisterPartial(name, html string) + func (a *Engine) RegisterPlugin(name string, scripts ...string) + func (a *Engine) Run() error + func (a *Engine) SetAuth(fn middleware.AuthFunc) + func (a *Engine) SetFS(fsys fs.FS) + func (a *Engine) SetMux(mux *http.ServeMux, opts *MuxOptions) + func (a *Engine) Use(plugins ...PluginFunc) + func (a *Engine) UsePartials(fsys fs.FS, baseDir string) + func (a *Engine) WebSocketPath() string + type Env = server.Env + type EnvAware = server.EnvAware + type Island struct + AssetsFS fs.FS + TargetName string + Template string + TemplateHTML string + func (c *Island) Compute(name string, fn func() any, deps ...string) + func (c *Island) ExecJS(expr string, cb func(result []byte, err string)) + func (c *Island) MarkRefresh(fields ...string) + func (c *Island) Refresh() + func (c *Island) Task(name string, fn func(*Task), opts ...TaskOption) + type MuxOptions struct + ScriptPath string + WSPath string + type PluginFunc func(*Engine) + type Task = island.Task + type TaskOption = island.TaskOption + func WithQueue() TaskOption + func WithRestart() TaskOption + type TaskPanic = island.TaskPanic + type Viewport = server.Viewport v0.1.1 Mar 17, 2026 v0.1.0 Mar 17, 2026 Changes in this version + var File_protocol_proto protoreflect.FileDescriptor + type App struct + Host string + NoAuth bool + NoBrowser bool + Port int + Quiet bool + Token string + func New() *App + func (a *App) Component(tag string, comp interface{}) + func (a *App) Mount(comp interface{}, fsys fs.FS) + func (a *App) Plugin(name string, scripts ...string) + func (a *App) Start() error + type Command struct + Id string + Items []*ListItem + Name string + Op string + Val isCommand_Val + func (*Command) Descriptor() ([]byte, []int) + func (*Command) ProtoMessage() + func (x *Command) GetBoolVal() bool + func (x *Command) GetId() string + func (x *Command) GetItems() []*ListItem + func (x *Command) GetName() string + func (x *Command) GetNumVal() float64 + func (x *Command) GetOp() string + func (x *Command) GetRawVal() []byte + func (x *Command) GetStrVal() string + func (x *Command) GetVal() isCommand_Val + func (x *Command) ProtoReflect() protoreflect.Message + func (x *Command) Reset() + func (x *Command) String() string + type Command_BoolVal struct + BoolVal bool + type Command_NumVal struct + NumVal float64 + type Command_RawVal struct + RawVal []byte + type Command_StrVal struct + StrVal string + type Component struct + func (c Component) Emit(method string, args ...interface{}) + func (c Component) Refresh() + type Envelope struct + Args []float64 + Msg []byte + Value []byte + func (*Envelope) Descriptor() ([]byte, []int) + func (*Envelope) ProtoMessage() + func (x *Envelope) GetArgs() []float64 + func (x *Envelope) GetMsg() []byte + func (x *Envelope) GetValue() []byte + func (x *Envelope) ProtoReflect() protoreflect.Message + func (x *Envelope) Reset() + func (x *Envelope) String() string + type EventCommand struct + Id string + Key string + Msg []byte + On string + func (*EventCommand) Descriptor() ([]byte, []int) + func (*EventCommand) ProtoMessage() + func (x *EventCommand) GetId() string + func (x *EventCommand) GetKey() string + func (x *EventCommand) GetMsg() []byte + func (x *EventCommand) GetOn() string + func (x *EventCommand) ProtoReflect() protoreflect.Message + func (x *EventCommand) Reset() + func (x *EventCommand) String() string + type ListItem struct + Cmds []*Command + Evts []*EventCommand + Html string + func (*ListItem) Descriptor() ([]byte, []int) + func (*ListItem) ProtoMessage() + func (x *ListItem) GetCmds() []*Command + func (x *ListItem) GetEvts() []*EventCommand + func (x *ListItem) GetHtml() string + func (x *ListItem) ProtoReflect() protoreflect.Message + func (x *ListItem) Reset() + func (x *ListItem) String() string + type ServerMessage struct + Commands []*Command + Events []*EventCommand + Type string + func (*ServerMessage) Descriptor() ([]byte, []int) + func (*ServerMessage) ProtoMessage() + func (x *ServerMessage) GetCommands() []*Command + func (x *ServerMessage) GetEvents() []*EventCommand + func (x *ServerMessage) GetType() string + func (x *ServerMessage) ProtoReflect() protoreflect.Message + func (x *ServerMessage) Reset() + func (x *ServerMessage) String() string + type WSMessage struct + Args [][]byte + Field string + Method string + Scope string + Type string + Value []byte + func (*WSMessage) Descriptor() ([]byte, []int) + func (*WSMessage) ProtoMessage() + func (x *WSMessage) GetArgs() [][]byte + func (x *WSMessage) GetField() string + func (x *WSMessage) GetMethod() string + func (x *WSMessage) GetScope() string + func (x *WSMessage) GetType() string + func (x *WSMessage) GetValue() []byte + func (x *WSMessage) ProtoReflect() protoreflect.Message + func (x *WSMessage) Reset() + func (x *WSMessage) String() string