kweb

package module
v0.0.0-...-e2d6795 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

kweb

Dogfooding!

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewApp

func NewApp(opt *Options) (*App, error)

func (*App) AddComponent

func (a *App) AddComponent(component components.Component)

func (*App) Run

func (a *App) Run(ctx context.Context) error

func (*App) RunFromMain

func (a *App) RunFromMain()

func (*App) Server

func (a *App) Server() *components.Server

func (*App) Users

func (a *App) Users() *users.UserComponent

type Options

type Options struct {
	Server server.Options
}

func NewOptions

func NewOptions(appName string) *Options

func (*Options) InitDefaults

func (o *Options) InitDefaults(appName string)

Jump to

Keyboard shortcuts

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