weed

package module
v0.0.0-...-14f0675 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MIT Imports: 5 Imported by: 0

README

My kit

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppStore

func NewAppStore() abstract.Store

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New() *App

func (*App) AddComponent

func (app *App) AddComponent(component abstract.Spark)

AddComponent - add component to run app

func (*App) AddInitialFunc

func (app *App) AddInitialFunc(f abstract.Func)

AddInitialFunc init a function this function call before run app

func (*App) AddWeedServer

func (app *App) AddWeedServer(a *weed.App)

func (*App) Run

func (app *App) Run()

Run app

func (*App) StoreGet

func (app *App) StoreGet(k string) (any, bool)

StoreGet SGet - Get an item from app store

func (*App) StoreSet

func (app *App) StoreSet(k string, v any) error

StoreSet - Set an item to store, throw error if key is exist

Directories

Path Synopsis
core

Jump to

Keyboard shortcuts

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