config

package
v0.10.21 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Allowed string `json:"allowed"`
	// contains filtered or unexported fields
}

func Parse

func Parse(s string) (*Config, error)

func (*Config) IsValidVersion

func (c *Config) IsValidVersion(version string) bool

IsValidVersion checks if the given version is allowed by the config

Jump to

Keyboard shortcuts

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