glance

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: MIT, AGPL-3.0 Imports: 43 Imported by: 0

README

This is a modified version of https://github.com/glanceapp/glance.

Commit tracking upstream: 1512718d416f4580f7e7bb60c8d5878320e1f032

See the LICENSE.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ItsUsedTrustMeBro

func ItsUsedTrustMeBro(...any)

Having compile time errors about unused variables is cool and all, but I don't want to have to constantly comment out my code while I'm working on it and testing things out

func Main

func Main() int

func NewApplication

func NewApplication(config *config) (*application, error)

func NewConfigFromYAML

func NewConfigFromYAML(contents []byte) (*config, error)

Types

type SearchBang

type SearchBang struct {
	Title    string
	Shortcut string
	URL      string
}

type SiteStatusRequest

type SiteStatusRequest struct {
	DefaultURL    string `yaml:"url"`
	CheckURL      string `yaml:"check-url"`
	AllowInsecure bool   `yaml:"allow-insecure"`
}