httpserver

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package httpserver implements an http server that conforms to the controller runner interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	http.ServeMux
	Port string

	Logger *logrus.Entry
}

Server is a HTTPs server that conforms to the runner interface we use in /cmd/controller.

func (*Server) Run

func (s *Server) Run(ctx context.Context, _ int) error

Run runs an http server on port :8080.

Jump to

Keyboard shortcuts

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