plugin

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constructor added in v0.0.9

type Constructor struct {
}

func (*Constructor) LoadConfig added in v0.0.9

func (c *Constructor) LoadConfig(config *pangu.Config) (logging *config.Logging, err error)

func (*Constructor) New added in v0.0.9

func (c *Constructor) New(config *config.Logging, http *http.Client) (logger log.Logger, err error)

type Wrapper

type Wrapper struct {
	// 日志配置
	Logging *config.Logging `json:"logging,omitempty" validate:"required"`
}

Jump to

Keyboard shortcuts

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