server

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumServer

type AlbumServer struct {
	RootFolder *album.PictureGroup
	Port       int64
	Host       string
	ThemePath  string
	Theme      *render.Theme
	Logger     *log.Logger
	Metadata   map[string]string
}

AlbumServer holds the necessary data to serve a given album.

func (*AlbumServer) Start

func (a *AlbumServer) Start()

Start starts serving this AlbumServer's root album

Jump to

Keyboard shortcuts

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