config

package
v0.0.0-...-63a4b18 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 4 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 {
	Lemmy
	Server
}

func New

func New() (*Config, error)

type Lemmy

type Lemmy struct {
	Username string `validate:"required"`
	Url      string `validate:"required,url"`
	Password string `validate:"required"`
}

type Server

type Server struct {
	BindAddr string `validate:"required,hostname_port"`
}

Jump to

Keyboard shortcuts

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