nickcam

package
v0.0.0-...-048fcec Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Reset = "\033[0m"
	Green = "\033[32m"
	Cyan  = "\033[36m"
)
View Source
var Model = resource.NewModel("ncs", "camera", "nickcam")

Functions

func New

func New(
	ctx context.Context,
	deps resource.Dependencies,
	conf resource.Config,
	logger logging.Logger,
) (camera.Camera, error)

Types

type Config

type Config struct {
	Big       bool   `json:"big,omitempty"`
	Color     string `json:"color,omitempty"`
	ImageType string `json:"image_type,omitempty"`
}

func (*Config) Validate

func (c *Config) Validate(path string) ([]string, error)

Jump to

Keyboard shortcuts

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