initfunc

package
v0.0.0-...-d28ffe2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package initfunc 实现了 github.com/issue9/writers 下的 WriterInitializer 接口。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Buffer

func Buffer(cfg *config.Config) (io.Writer, error)

Buffer 是 writers.Buffer 的初始化函数

func Console

func Console(cfg *config.Config) (io.Writer, error)

Console 是 writers.Console 的初始化函数

func Rotate

func Rotate(cfg *config.Config) (io.Writer, error)

Rotate 的初始化函数。

func SMTP

func SMTP(cfg *config.Config) (io.Writer, error)

SMTP 是 writers.SMTP 的初始化函数

Types

This section is empty.

Jump to

Keyboard shortcuts

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