Documentation
¶
Index ¶
Constants ¶
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 ServerHandlerMaker ¶
type ServerHandlerMaker struct { Storage *storage.Storage SSStore *simulator.StateSimulatorStore // contains filtered or unexported fields }
func (*ServerHandlerMaker) NewConnHandler ¶
func (m *ServerHandlerMaker) NewConnHandler(id protocol.ConnID, conn protocol.PacketSender) *protocol.ConnHandler
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
Click to show internal directories.
Click to hide internal directories.