Documentation ¶
Index ¶
Constants ¶
View Source
const (
CloseDelayDuration = 3 * time.Second
)
View Source
const ( // クライアントから受信したアイテムのバッファサイズ。 // 単位はメッセージの個数。 DefaultReceiveBufferSize = 128 )
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "cmd", Short: "Function calls tracer for golang", SilenceErrors: true, SilenceUsage: true, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type JsonLogWriter ¶
type JsonLogWriter struct {
// contains filtered or unexported fields
}
func NewJsonLogWriter ¶
func NewJsonLogWriter(output io.Writer) *JsonLogWriter
func (*JsonLogWriter) SetGoFuncGetter ¶
func (w *JsonLogWriter) SetGoFuncGetter(func(pc uintptr) types.GoFunc)
func (*JsonLogWriter) SetGoLineGetter ¶
func (w *JsonLogWriter) SetGoLineGetter(func(pc uintptr) types.GoLine)
func (*JsonLogWriter) WriteHeader ¶
func (w *JsonLogWriter) WriteHeader() error
type LogWriter ¶
type TextLogWriter ¶
type TextLogWriter struct {
// contains filtered or unexported fields
}
func NewTextLogWriter ¶
func NewTextLogWriter(output io.Writer) *TextLogWriter
func (*TextLogWriter) SetGoFuncGetter ¶
func (w *TextLogWriter) SetGoFuncGetter(f func(pc uintptr) types.GoFunc)
func (*TextLogWriter) SetGoLineGetter ¶
func (w *TextLogWriter) SetGoLineGetter(f func(pc uintptr) types.GoLine)
func (*TextLogWriter) WriteHeader ¶
func (w *TextLogWriter) WriteHeader() error
Source Files ¶
- build.go
- log.go
- log_cat.go
- log_ls.go
- log_query.go
- proc.go
- proc_build.go
- proc_run.go
- root.go
- run.go
- server.go
- server_ls.go
- server_run.go
- server_status.go
- server_stop.go
- target.go
- target_add.go
- target_ls.go
- target_remove.go
- target_setBuild.go
- target_setRun.go
- trace.go
- trace_off.go
- trace_on.go
- trace_start.go
- trace_status.go
- trace_stop.go
- tui.go
- utils.go
Click to show internal directories.
Click to hide internal directories.