lsdserver

package
v0.0.0-...-99fd3eb Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerFunc

type HandlerFunc func(w http.ResponseWriter, r *http.Request, s apilsd.Server)

type HandlerPrivateFunc

type HandlerPrivateFunc func(w http.ResponseWriter, r *http.Request, s apilsd.Server)

type Server

type Server struct {
	http.Server
	// contains filtered or unexported fields
}

func New

func New(bindAddr string, readonly bool, complianceMode bool, goofyMode bool, lst *licensestatuses.LicenseStatuses, trns *transactions.Transactions, basicAuth *auth.BasicAuth) *Server

func (*Server) GoofyMode

func (s *Server) GoofyMode() bool

func (*Server) LicenseStatuses

func (s *Server) LicenseStatuses() licensestatuses.LicenseStatuses

func (*Server) Transactions

func (s *Server) Transactions() transactions.Transactions

Jump to

Keyboard shortcuts

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