xbanner

package
v0.0.0-...-73d6a9a Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banner(cfg Config) error

func Module

func Module() fx.Option

Types

type Config

type Config struct {
	File           string `yaml:"file"`
	IsEnabled      bool   `yaml:"enabled"`
	IsColorEnabled bool   `yaml:"color"`
}

func LoadConfig

func LoadConfig(params LoadConfigParams) (Config, error)

type LoadConfigParams

type LoadConfigParams struct {
	fx.In

	Provider config.Provider `optional:"true"`
}

Jump to

Keyboard shortcuts

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