service

package
v0.0.0-...-aaefbb5 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(cfg config.Config) []core.Service

func NewAcmeService

func NewAcmeService(cfg config.Config) core.Service

Types

type AcmeService

type AcmeService struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

*

  • AcmeService listens on http port (default 80) for incoming acme challenges from letsencrypt.org
  • and updates it's certificate manager's hotpolicy depending on acme hosts configured for
  • each core.Server instance with [acme] section in config

func (*AcmeService) Disable

func (a *AcmeService) Disable(server core.Server) error

func (*AcmeService) Enable

func (a *AcmeService) Enable(server core.Server) error

Jump to

Keyboard shortcuts

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