http

package
v0.0.0-...-e8f3219 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2019 License: Unlicense Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(cnf Config, logger *log.Logger) error

Serve http connections

Types

type Config

type Config struct {
	Address       string
	FilesFolder   string
	RedisAddress  string
	RedisPassword string
	RedisSecret   string
	DBName        string
	DBHost        string
	DBUser        string
	DBPass        string
}

Config contains the configuration for the server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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