template

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config ...

func CreateConfig

func CreateConfig() *Config

CreateConfig ...

func (*Config) ClearTemplates

func (c *Config) ClearTemplates()

ClearTemplates ...

func (*Config) NewTemplate

func (c *Config) NewTemplate(name, file, output string, rotate, startingBufferSize int) error

NewTemplate ...

func (*Config) Write

func (c *Config) Write(data interface{}) error

Write ...

func (*Config) WriteOutput

func (c *Config) WriteOutput(data interface{}, output string) error

WriteOutput ...

Jump to

Keyboard shortcuts

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