Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebserverCommand ¶
type WebserverCommand struct { Width uint32 `short:"w" long:"width" description:"Webcam width" default:"800"` Height uint32 `short:"h" long:"height" description:"Webcam height" default:"600"` Device string `short:"d" long:"device" description:"Device path" default:"/dev/video0"` Port uint64 `short:"p" long:"port" description:"Server port" default:"8001"` // contains filtered or unexported fields }
func NewWebserverCommand ¶
func NewWebserverCommand(config *config.Config) *WebserverCommand
func (*WebserverCommand) Execute ¶
func (c *WebserverCommand) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.