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
type PprofServer ¶
type PprofServer struct {
collogspb.UnsafeLogsServiceServer
db.UnsafeDBServer
// contains filtered or unexported fields
}
func NewPprofServer ¶
func NewPprofServer() *PprofServer
func (*PprofServer) Export ¶
func (p *PprofServer) Export(ctx context.Context, request *collogspb.ExportLogsServiceRequest) (*collogspb.ExportLogsServiceResponse, error)
func (*PprofServer) Get ¶
func (p *PprofServer) Get(ctx context.Context, req *db.GetProfileRequest) (*db.GetProfileResponse, error)
Click to show internal directories.
Click to hide internal directories.