38 lines
686 B
Go
38 lines
686 B
Go
package orbitviewer
|
|
|
|
import (
|
|
"toolbox/pkg/base"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type OrbitViewerTool struct{}
|
|
|
|
func (t *OrbitViewerTool) ID() string {
|
|
return "orbit-viewer"
|
|
}
|
|
|
|
func (t *OrbitViewerTool) Name() string {
|
|
return "卫星轨道观测与AR定位"
|
|
}
|
|
|
|
func (t *OrbitViewerTool) Description() string {
|
|
return "实时卫星轨迹模拟、未来10天最佳观测窗口预测及移动端AR实景指天找星工具。"
|
|
}
|
|
|
|
func (t *OrbitViewerTool) Emoji() string {
|
|
return "🛰️"
|
|
}
|
|
|
|
func (t *OrbitViewerTool) Init() error {
|
|
return nil
|
|
}
|
|
|
|
func (t *OrbitViewerTool) RegisterRoutes(r *gin.RouterGroup) {
|
|
RegisterRoutes(r)
|
|
}
|
|
|
|
func init() {
|
|
base.Register(&OrbitViewerTool{})
|
|
}
|