attrs

package
v0.95.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogFileName         = "log.file.name"
	LogFilePath         = "log.file.path"
	LogFileNameResolved = "log.file.name_resolved"
	LogFilePathResolved = "log.file.path_resolved"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	IncludeFileName         bool `mapstructure:"include_file_name,omitempty"`
	IncludeFilePath         bool `mapstructure:"include_file_path,omitempty"`
	IncludeFileNameResolved bool `mapstructure:"include_file_name_resolved,omitempty"`
	IncludeFilePathResolved bool `mapstructure:"include_file_path_resolved,omitempty"`
}

func (*Resolver) Resolve

func (r *Resolver) Resolve(path string) (attributes map[string]any, err error)

Jump to

Keyboard shortcuts

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