server

package
v0.0.0-...-622692a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PprofHttpServer

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

func NewHttpServer

func NewHttpServer(
	listenAddr string,
	dbClient db.DBClient,
) *PprofHttpServer

func (*PprofHttpServer) HttpServer

func (p *PprofHttpServer) HttpServer() *http.Server

serves on /ui/<id>/<profile_type>

func (*PprofHttpServer) ListenAndServe

func (p *PprofHttpServer) ListenAndServe() error

func (*PprofHttpServer) Shutdown

func (p *PprofHttpServer) Shutdown(ctx context.Context) error

type PprofServer

type PprofServer struct {
	collogspb.UnsafeLogsServiceServer
	db.UnsafeDBServer
	// contains filtered or unexported fields
}

func NewPprofServer

func NewPprofServer() *PprofServer

func (*PprofServer) Get

Jump to

Keyboard shortcuts

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