Versions in this module Expand all Collapse all v1 v1.0.0 Oct 8, 2019 Changes in this version + type Fetcher interface + Fetch func(src string, duration, timeout time.Duration) (*profile.Profile, string, error) + type FlagSet interface + AddExtraUsage func(eu string) + Bool func(name string, def bool, usage string) *bool + BoolVar func(pointer *bool, name string, def bool, usage string) + ExtraUsage func() string + Float64 func(name string, def float64, usage string) *float64 + Float64Var func(pointer *float64, name string, def float64, usage string) + Int func(name string, def int, usage string) *int + IntVar func(pointer *int, name string, def int, usage string) + Parse func(usage func()) []string + String func(name string, def string, usage string) *string + StringList func(name string, def string, usage string) *[]*string + StringVar func(pointer *string, name string, def string, usage string) + type Frame struct + File string + Func string + Line int + type HTTPServerArgs struct + Handlers map[string]http.Handler + Host string + Hostport string + Port int + type Inst struct + Addr uint64 + File string + Function string + Line int + Text string + type MappingSources map[string][]struct + type ObjFile interface + Base func() uint64 + BuildID func() string + Close func() error + Name func() string + SourceLine func(addr uint64) ([]Frame, error) + Symbols func(r *regexp.Regexp, addr uint64) ([]*Sym, error) + type ObjTool interface + Disasm func(file string, start, end uint64) ([]Inst, error) + Open func(file string, start, limit, offset uint64) (ObjFile, error) + type Options struct + Fetch Fetcher + Flagset FlagSet + HTTPServer func(args *HTTPServerArgs) error + HTTPTransport http.RoundTripper + Obj ObjTool + Sym Symbolizer + UI UI + Writer Writer + type Sym struct + End uint64 + File string + Name []string + Start uint64 + type Symbolizer interface + Symbolize func(mode string, srcs MappingSources, prof *profile.Profile) error + type UI interface + IsTerminal func() bool + Print func(...interface{}) + PrintErr func(...interface{}) + ReadLine func(prompt string) (string, error) + SetAutoComplete func(complete func(string) string) + WantBrowser func() bool + type Writer interface + Open func(name string) (io.WriteCloser, error)