server

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserHttp

type UserHttp struct {
	Log      logr.Logger
	Drvr     *driver.Driver
	InTest   bool
	Mock     bool
	KeyBytes []byte
	Server   *http.Server
}

UserHttp will have only one instance per process, shared by all threads in the process.

func (*UserHttp) CancelRequest

func (user *UserHttp) CancelRequest(w http.ResponseWriter, req *http.Request)

func (*UserHttp) GetActiveRequests added in v0.1.18

func (user *UserHttp) GetActiveRequests() ([]string, error)

func (*UserHttp) GetRequest added in v0.1.16

func (user *UserHttp) GetRequest(w http.ResponseWriter, req *http.Request)

func (*UserHttp) Hello

func (user *UserHttp) Hello(w http.ResponseWriter, req *http.Request)

func (*UserHttp) ListRequests

func (user *UserHttp) ListRequests(w http.ResponseWriter, req *http.Request)

func (*UserHttp) ShutdownRequest added in v0.1.18

func (user *UserHttp) ShutdownRequest(w http.ResponseWriter, req *http.Request)

func (*UserHttp) TrialRequest

func (user *UserHttp) TrialRequest(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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