common

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package common implements common nexus command options.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg *config.Config) error

Init initializes the common environment.

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

func RootLogger() *log.Logger

RootLogger returns the logger defined by logging flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL