agent

package
v0.0.0-...-7983b3b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package agent implements the api endpoints for the `/agent` prefix. This group of endpoints is meant to provide high-level functionalities at the agent level.

Index

Constants

This section is empty.

Variables

View Source
var ConnContextKey = &contextKey{"http-connection"}

ConnContextKey key to reference the http connection from the request context

Functions

func GetConnection

func GetConnection(r *http.Request) net.Conn

GetConnection returns the connection for the request

func SetupHandlers

func SetupHandlers(r *mux.Router) *mux.Router

SetupHandlers adds the specific handlers for /agent endpoints

Types

This section is empty.

Jump to

Keyboard shortcuts

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