Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetHost() string ListScenes(ctx context.Context) ([]Scene, error) MoveSceneToNext(ctx context.Context) error GetRemainingTimeOnCurrentScene(ctx context.Context) (*DurationAndCursor, error) }
func NewObsWebSocketClient ¶
type ClientImpl ¶
type ClientImpl struct {
// contains filtered or unexported fields
}
func (*ClientImpl) GetHost ¶
func (c *ClientImpl) GetHost() string
func (*ClientImpl) GetRemainingTimeOnCurrentScene ¶
func (c *ClientImpl) GetRemainingTimeOnCurrentScene(ctx context.Context) (*DurationAndCursor, error)
func (*ClientImpl) ListScenes ¶
func (c *ClientImpl) ListScenes(ctx context.Context) ([]Scene, error)
ListScenes is output list of scenes. It is sorted order by as shown in OBS.
func (*ClientImpl) MoveSceneToNext ¶
func (c *ClientImpl) MoveSceneToNext(ctx context.Context) error
type DurationAndCursor ¶
Click to show internal directories.
Click to hide internal directories.