settings

package
v0.44.36 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

The settings view and view-controllers logic package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	app.Compo

	VAPIDpublic string
	// contains filtered or unexported fields
}

func (*Content) OnMount

func (c *Content) OnMount(ctx app.Context)

func (*Content) OnNav

func (c *Content) OnNav(ctx app.Context)

func (*Content) Render

func (c *Content) Render() app.UI

type OptionsPayload

type OptionsPayload struct {
	UIDarkMode    bool   `json:"dark_mode"`
	LiveMode      bool   `json:"live_mode"`
	LocalTimeMode bool   `json:"local_time_mode"`
	Private       bool   `json:"private"`
	AboutText     string `json:"about_you"`
	WebsiteLink   string `json:"website_link"`
}

Jump to

Keyboard shortcuts

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