Documentation ¶
Index ¶
- type CndWrapper
- func (w CndWrapper) DisableAutomation(ctx context.Context, in *pb.SwitchAutomationRequest, opts ...grpc.CallOption) (*pb.Track, error)
- func (w CndWrapper) EnableAutomation(ctx context.Context, in *pb.SwitchAutomationRequest, opts ...grpc.CallOption) (*pb.Track, error)
- func (w CndWrapper) GetTrack(ctx context.Context, in *pb.GetTrackRequest, opts ...grpc.CallOption) (*pb.Track, error)
- func (w CndWrapper) ListScene(ctx context.Context, in *pb.ListSceneRequest, opts ...grpc.CallOption) (*pb.ListSceneResponse, error)
- func (w CndWrapper) ListTrack(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*pb.ListTrackResponse, error)
- func (w CndWrapper) MoveSceneToNext(ctx context.Context, in *pb.MoveSceneToNextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CndWrapper ¶
type CndWrapper struct { Scene pb.SceneServiceClient Track pb.TrackServiceClient }
func NewCndWrapper ¶
func NewCndWrapper(scene pb.SceneServiceClient, track pb.TrackServiceClient) *CndWrapper
func (CndWrapper) DisableAutomation ¶
func (w CndWrapper) DisableAutomation(ctx context.Context, in *pb.SwitchAutomationRequest, opts ...grpc.CallOption) (*pb.Track, error)
func (CndWrapper) EnableAutomation ¶
func (w CndWrapper) EnableAutomation(ctx context.Context, in *pb.SwitchAutomationRequest, opts ...grpc.CallOption) (*pb.Track, error)
func (CndWrapper) GetTrack ¶
func (w CndWrapper) GetTrack(ctx context.Context, in *pb.GetTrackRequest, opts ...grpc.CallOption) (*pb.Track, error)
func (CndWrapper) ListScene ¶
func (w CndWrapper) ListScene(ctx context.Context, in *pb.ListSceneRequest, opts ...grpc.CallOption) (*pb.ListSceneResponse, error)
func (CndWrapper) ListTrack ¶
func (w CndWrapper) ListTrack(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*pb.ListTrackResponse, error)
func (CndWrapper) MoveSceneToNext ¶
func (w CndWrapper) MoveSceneToNext(ctx context.Context, in *pb.MoveSceneToNextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.