Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is hubble's gRPC server.

func NewServer

func NewServer(log *slog.Logger, options ...serveroption.Option) (*Server, error)

NewServer creates a new hubble gRPC server.

func (*Server) Serve

func (s *Server) Serve() error

Serve starts the hubble server and accepts new connections on the configured listener. Stop should be called to stop the server.

func (*Server) Stop

func (s *Server) Stop()

Stop stops the hubble server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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