grillclient

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func New

func New(p Params) gmg.Client

Types

type Config

type Config struct {
	GrillIP   string `yaml:"grill_ip"`
	GrillPort int    `yaml:"grill_port"`
}

func NewConfig

func NewConfig(provider config.Provider) (*Config, error)

type Params

type Params struct {
	fx.In

	Config *Config
	Logger *logrus.Logger
}

Jump to

Keyboard shortcuts

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