skeleton

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: BSD-3-Clause Imports: 5 Imported by: 1

README

skeleton

Merliot Device Skeleton

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(id, model, name string) dean.Thinger

Types

type MsgClick

type MsgClick struct {
	dean.ThingMsg
	State bool
}

type Skeleton

type Skeleton struct {
	*device.Device
	Led led.Led
}

func (*Skeleton) Run

func (s *Skeleton) Run(i *dean.Injector)

func (*Skeleton) ServeHTTP

func (s *Skeleton) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Skeleton) Setup

func (s *Skeleton) Setup()

func (*Skeleton) Subscribers

func (s *Skeleton) Subscribers() dean.Subscribers

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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