api

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MPL-2.0 Imports: 35 Imported by: 3

Documentation

Index

Constants

View Source
const (
	GET    = "GET"
	POST   = "POST"
	PUT    = "PUT"
	DELETE = "DELETE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationHandler

type ApplicationHandler struct {
	Router http.Handler
	A      *types.APIOptions
}

func NewApplicationHandler

func NewApplicationHandler(a *types.APIOptions) (*ApplicationHandler, error)

func (*ApplicationHandler) BuildRoutes

func (a *ApplicationHandler) BuildRoutes() *chi.Mux

func (*ApplicationHandler) HandleCrcCheck

func (a *ApplicationHandler) HandleCrcCheck(w http.ResponseWriter, r *http.Request)

func (*ApplicationHandler) IngestEvent

func (a *ApplicationHandler) IngestEvent(w http.ResponseWriter, r *http.Request)

func (*ApplicationHandler) RegisterDashboardRoutes added in v1.1.6

func (a *ApplicationHandler) RegisterDashboardRoutes(r *chi.Mux)

func (*ApplicationHandler) RegisterPolicy added in v1.1.6

func (a *ApplicationHandler) RegisterPolicy() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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