flowd

package
v0.0.0-...-7a89c69 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 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 FlowHandler

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

func NewFlowHandler

func NewFlowHandler(fs *store.FlowStore, mm *Metrics, ll *logrus.Logger) *FlowHandler

func (*FlowHandler) ServeHTTP

func (h *FlowHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Metrics

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

func NewMetrics

func NewMetrics(reg *prometheus.Registry) *Metrics

type Server

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

func NewServer

func NewServer(addr string, reg *prometheus.Registry, ll *logrus.Logger) (*Server, error)

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

Jump to

Keyboard shortcuts

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