Documentation ¶
Index ¶
- func GetVersion(ctx context.Context, connectionInfo ConnectionInfo) (*debug_api.VersionResponse, error)
- func Profile(ctx context.Context, req ProfileRequest, out io.Writer) error
- func SetLogLevel(ctx context.Context, connectionInfo ConnectionInfo, level string) error
- func Trace(ctx context.Context, req TraceRequest, out io.Writer) error
- type ChunkReceiver
- type ConnectionInfo
- type ProfileRequest
- type TraceRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
func GetVersion(ctx context.Context, connectionInfo ConnectionInfo) (*debug_api.VersionResponse, error)
func SetLogLevel ¶
func SetLogLevel(ctx context.Context, connectionInfo ConnectionInfo, level string) error
Types ¶
type ChunkReceiver ¶
type ConnectionInfo ¶
type ProfileRequest ¶
type ProfileRequest struct { ConnectionInfo ProfileName string SampleRate int Duration time.Duration }
type TraceRequest ¶
type TraceRequest struct { ConnectionInfo Duration time.Duration }
Click to show internal directories.
Click to hide internal directories.