Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
WsPort int // websocket port to start from
}
Config conifgures Manager
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager keeps track of Buttplug resources
func NewManager ¶
NewManager returns a new buttplug.Manager given a Config. Returns nil and an error if any.
func (*Manager) GetConnection ¶
func (m *Manager) GetConnection() *buttplug.Websocket
func (*Manager) GetDeviceManager ¶
func (*Manager) Run ¶
From https://github.com/diamondburned/go-buttplug/blob/plug/cmd/buttplughttp/main.go
Click to show internal directories.
Click to hide internal directories.