lighthouse

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(cfg *Config)

Config is the configuration of lighthouse

Types

type Config

type Config struct {
	Title   string
	Version string
	Author  string
	Server  struct {
		Host string
		Port int64
	}
	Cache struct {
		Engine string
		MaxAge string
		Config struct {
			Host     string
			Port     string
			Db       int64
			Password string
		}
	}
	Log struct {
		Transport string
		Level     string
	}
}

Config is the configuration of lighthouse

Jump to

Keyboard shortcuts

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