handlers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpEndpoints

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

func NewHTTPHandler

func NewHTTPHandler(
	instanceID string,
	dbService *db.SelfSwabbingExtDBService,
	apiKeys []string,
	allowEntryCodeUpload bool,
	samplerConfig types.SamplerConfig,
) *HttpEndpoints

func (*HttpEndpoints) AddCodeCheckerAPI

func (h *HttpEndpoints) AddCodeCheckerAPI(rg *gin.RouterGroup)

func (*HttpEndpoints) AddSamplerAPI added in v0.2.0

func (h *HttpEndpoints) AddSamplerAPI(rg *gin.RouterGroup)

Jump to

Keyboard shortcuts

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