server

package
v0.0.0-...-19dffb3 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGemini

func NewGemini(cfg types.Config) (*gemini.Server, error)

NewGemini creates a new Gemini server.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements a Gemini server that serves Ghost content.

func (Server) ServeGemini

func (s Server) ServeGemini(ctx context.Context, w gemini.ResponseWriter, r *gemini.Request)

ServeGemini handles routing and rendering.

Jump to

Keyboard shortcuts

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