config

package
v0.0.0-...-9dc72d6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

This file is largely copied from git.sr.ht/~emersion/hut Licensed under GPLv3

Index

Constants

This section is empty.

Variables

View Source
var (
	Instance *InstanceConfig
	UI       *ui
)

Functions

func Load

func Load(configFile string, instance string) error

Types

type Config

type Config struct {
	Instances []*InstanceConfig
	// contains filtered or unexported fields
}

type InstanceConfig

type InstanceConfig struct {
	Name string

	AccessToken    string
	AccessTokenCmd []string

	Origins map[string]string
}

Jump to

Keyboard shortcuts

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