telescope
*v1.TelescopeRealm- OID
- 020837…cab8:21
telescope details
init.1
func()- OID
- 020837…cab8:4
init.1 details
Render
func(path string) string- OID
- 020837…cab8:6
Render details
SubmitCommand
func(commandType string, targetRA string, targetDec string, exposure string)SubmitCommand allows authorized users to submit telescope commands. commandType: "capture" or "stop" targetRA: Right Ascension in hours (0-24), leave empty for stop targetDec: Declination in degrees (-90 to 90), leave empty for stop exposure: Exposure time in seconds (1-300), leave empty for stop
- OID
- 020837…cab8:7
SubmitCommand details
GrantAccess
func(address string, durationDays int)GrantAccess allows the owner to grant access to another user. durationDays: 0 = never expires
- OID
- 020837…cab8:8
GrantAccess details
RevokeAccess
func(address string)RevokeAccess allows the owner to revoke access from a user.
- OID
- 020837…cab8:9
RevokeAccess details
GetNextCommand
func() v1.TelescopeCommandGetNextCommand returns and removes the next command from the queue. Called by the telescope controller.
- OID
- 020837…cab8:10
GetNextCommand details
UpdateStatus
func(status string)UpdateStatus updates the telescope status locally and in the NightSky registry. Valid values: "online", "offline", "busy", "error"
- OID
- 020837…cab8:11
UpdateStatus details
RecordCapture
func(imageURL string, targetRA float64, targetDec float64, exposure int, capturedBy string)RecordCapture records a capture result locally and submits it to the NightSky network feed.
- OID
- 020837…cab8:12
RecordCapture details
ClearCommandQueue
func()ClearCommandQueue clears all pending commands (emergency stop).
- OID
- 020837…cab8:13
ClearCommandQueue details
GetCommandCount
func() int- OID
- 020837…cab8:14
GetCommandCount details
GetCaptureCount
func() int- OID
- 020837…cab8:15
GetCaptureCount details
GetAccessRuleCount
func() int- OID
- 020837…cab8:16
GetAccessRuleCount details
GetStatus
func() string- OID
- 020837…cab8:17
GetStatus details
GetTelescopeName
func() string- OID
- 020837…cab8:18
GetTelescopeName details
GetTelescopeModel
func() string- OID
- 020837…cab8:19
GetTelescopeModel details
GetOwner
func() string- OID
- 020837…cab8:20