Documentation ¶ Index ¶ Variables type Config func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config type Service func New(config *Config, service, version, env string) *Service func (s *Service) Start(ctx context.Context) Constants ¶ This section is empty. Variables ¶ View Source var ProfileNames = []string{ "allocs", "goroutine", "heap", } Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { URL string Port int } func Flags ¶ func Flags(fs *flag.FlagSet, prefix string, overrides ...flags.Override) *Config type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New(config *Config, service, version, env string) *Service func (*Service) Start ¶ func (s *Service) Start(ctx context.Context) Source Files ¶ View all Source files pprof.go Click to show internal directories. Click to hide internal directories.