Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name ... Name = "moon" // EntityMoon ... EntityMoon = string("moon") Version = "0.0.1" )
View Source
const ( // StateAboveHorizon ... StateAboveHorizon = "aboveHorizon" // StateBelowHorizon ... StateBelowHorizon = "belowHorizon" )
View Source
const ( // StateNewMoon ... StateNewMoon = "new_moon" // StateWaxingCrescent ... StateWaxingCrescent = "waxing_crescent" // StateFirstQuarter ... StateFirstQuarter = "first_quarter" // StateWaxingGibbous ... StateWaxingGibbous = "waxing_gibbous" // StateFullMoon ... StateFullMoon = "full_moon" // StateWaningGibbous ... StateWaningGibbous = "waning_gibbous" // StateThirdQuarter ... StateThirdQuarter = "third_quarter" // StateWaningCrescent ... StateWaningCrescent = "waning_crescent" )
View Source
const ( // AttrHorizonState ... AttrHorizonState = "horizonState" // AttrPhase ... AttrPhase = "phase" // AttrAzimuth ... AttrAzimuth = "azimuth" // AttrElevation ... AttrElevation = "elevation" // AttrLat ... AttrLat = "lat" // AttrLon ... AttrLon = "lon" )
Variables ¶
View Source
var F embed.FS
Functions ¶
Types ¶
type Actor ¶
type Actor struct { *supervisor.BaseActor // contains filtered or unexported fields }
Actor ...
func (*Actor) UpdateMoonPosition ¶
UpdateMoonPosition ...
Click to show internal directories.
Click to hide internal directories.