geminis

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildServer

func BuildServer(args ServerArgs) (*gemini.Server, error)

func LoggingMiddleware

func LoggingMiddleware(h gemini.Handler) gemini.Handler

Types

type ServerArgs

type ServerArgs struct {
	UserManager    *user.Manager
	ContentManager *content.Manager
	Mailer         mail.IMailer
	GeminiCertsDir string
	ContentDir     string
	GeminiHost     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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