sharedmem

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Debugger

type Debugger struct{}

func (Debugger) ListAutomation

func (d Debugger) ListAutomation() map[int32]bool

func (Debugger) ListTalks

func (d Debugger) ListTalks() map[int32]model.Talks

type DebuggerIface

type DebuggerIface interface {
	ListAutomation() map[int32]bool
	ListTalks() map[int32]model.Talks
}

type Reader

type Reader struct {
	UseStorageForDisableAutomation bool
	UseStorageForTrack             bool
}

func (Reader) DisableAutomation

func (r Reader) DisableAutomation(trackId int32) (bool, error)

func (Reader) Track

func (r Reader) Track(trackId int32) (*model.Track, error)

type ReaderIface

type ReaderIface interface {
	DisableAutomation(trackId int32) (bool, error)
	Track(trackId int32) (*model.Track, error)
}

type StorageForDisableAutomation

type StorageForDisableAutomation map[int32]bool

key is TrackId

type StorageForTrack

type StorageForTrack map[int32]model.Track

key is TrackId

type Writer

type Writer struct {
	UseStorageForDisableAutomation bool
	UseStorageForTrack             bool
}

func (Writer) SetDisableAutomation

func (w Writer) SetDisableAutomation(trackId int32, disabled bool) error

func (Writer) SetTrack

func (w Writer) SetTrack(track model.Track) error

type WriterIface

type WriterIface interface {
	SetDisableAutomation(trackId int32, disabled bool) error
	SetTrack(track model.Track) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL