Documentation
¶
Overview ¶
Package common implements common nexus command options.
Index ¶
- func Init(cfg *config.Config) error
- func NewClient(cfg *config.StorageConfig, logger *log.Logger) (storage.TargetStorage, error)
- func PprofRun(ctx context.Context, endpoint string, logger *log.Logger) error
- func RootLogger() *log.Logger
- func RunServer(ctx context.Context, server *http.Server, logger *log.Logger) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(cfg *config.StorageConfig, logger *log.Logger) (storage.TargetStorage, error)
NewClient creates a new client to target storage.
func RootLogger ¶ added in v0.2.8
RootLogger returns the logger defined by logging flags.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.