common

package
v1.0.107 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogConfig

func LogConfig(producerConfig LoggerConfig) log.Logger

Types

type ClientConfig

type ClientConfig struct {
	Endpoint        string
	AccessKeyID     string
	AccessKeySecret string
	SecurityToken   string
	Region          string
}

type LoggerConfig

type LoggerConfig struct {
	LogLevel      string
	LogFileName   string
	IsJsonType    bool
	LogMaxSize    int
	LogMaxBackups int
	LogCompress   bool
}

Jump to

Keyboard shortcuts

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