server

package
v0.0.0-...-ec0eb22 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultServer

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

DefaultServer is the implementation of the Server interface for server injections

func (*DefaultServer) StopUnix

func (ds *DefaultServer) StopUnix() (string, error)

StopUnix will stop a Unix server after one minute

type Server

type Server interface {
	StopUnix() (string, error)
}

Server is the interface for server injections

func New

func New(logger log.Logger) Server

New will create a new Server instance

Jump to

Keyboard shortcuts

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