Documentation ¶
Index ¶
- type Pluggable
- type Plugin
- func (Plugin) GetRegistration() (plus.Registration, error)
- func (Plugin) IsLevelPackSigned(*levelpack.LevelPack) bool
- func (Plugin) IsLevelSigned(*level.Level) bool
- func (Plugin) IsRegistered() bool
- func (Plugin) LoadFromEmbeddable(filename string, fs filesystem.Embeddable, force bool) (*doodads.Doodad, error)
- func (Plugin) UploadLicenseFile(string) (plus.Registration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pluggable ¶
type Pluggable interface { LoadFromEmbeddable(string, filesystem.Embeddable, bool) (*doodads.Doodad, error) IsRegistered() bool GetRegistration() (plus.Registration, error) UploadLicenseFile(string) (plus.Registration, error) IsLevelSigned(*level.Level) bool IsLevelPackSigned(*levelpack.LevelPack) bool }
Pluggable defines the interface for Doodle++ functions, so that their implementations can avoid cyclic dependency errors. Documentation for these functions is only spelled out in the SketchyMaze/dpp package.
var Driver Pluggable
Driver is the currently installed Doodle++ implementation (FOSS or DPP).
type Plugin ¶
type Plugin struct{}
func (Plugin) GetRegistration ¶
func (Plugin) GetRegistration() (plus.Registration, error)
func (Plugin) IsRegistered ¶
func (Plugin) LoadFromEmbeddable ¶
func (Plugin) LoadFromEmbeddable(filename string, fs filesystem.Embeddable, force bool) (*doodads.Doodad, error)
func (Plugin) UploadLicenseFile ¶
func (Plugin) UploadLicenseFile(string) (plus.Registration, error)
Click to show internal directories.
Click to hide internal directories.