Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { IncomingEvents chan events.Event *requests.Client // contains filtered or unexported fields }
Client represents a client to an OBS websockets server.
type Option ¶
type Option func(*Client)
Option represents a functional option of a Client.
func WithLogger ¶ added in v0.7.1
WithLogger sets the logger to use for debug logging. Providing a logger implicitly turns debug logging on, unless debug logging is explicitly disabled.
Directories ¶
Path | Synopsis |
---|---|
api
|
|
typedefs
Package typedefs defines both generated structs as specified under the [Typedefs section](https://github.com/Palakis/obs-websocket/blob/4.x-current/docs/generated/protocol.md#typedefs) of the protocol, and also manually defined "common" structs used across several events and requests.
|
Package typedefs defines both generated structs as specified under the [Typedefs section](https://github.com/Palakis/obs-websocket/blob/4.x-current/docs/generated/protocol.md#typedefs) of the protocol, and also manually defined "common" structs used across several events and requests. |
examples
|
|
internal
module
|
|
sample
Module
|
Click to show internal directories.
Click to hide internal directories.