server

package
v0.0.0-...-003ff6d Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Router   *mux.Router
	Database *db.Connection
	Log      log.Logger
	Config   *config.Config
	// contains filtered or unexported fields
}

Server defines the oauth2-server object

func New

func New() (*Server, error)

New returns a configured Server object

func (*Server) Run

func (s *Server) Run()

Run starts the Server

Jump to

Keyboard shortcuts

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