Initial upload
This commit is contained in:
		
						commit
						cefd7abe8a
					
				
					 19 changed files with 1027 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,2 @@ | ||||||
|  | *.apk | ||||||
|  | .idea | ||||||
							
								
								
									
										21
									
								
								LICENSE
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								LICENSE
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,21 @@ | ||||||
|  | MIT License | ||||||
|  | 
 | ||||||
|  | Copyright (c) 2025 MassiveBox | ||||||
|  | 
 | ||||||
|  | Permission is hereby granted, free of charge, to any person obtaining a copy | ||||||
|  | of this software and associated documentation files (the "Software"), to deal | ||||||
|  | in the Software without restriction, including without limitation the rights | ||||||
|  | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||||
|  | copies of the Software, and to permit persons to whom the Software is | ||||||
|  | furnished to do so, subject to the following conditions: | ||||||
|  | 
 | ||||||
|  | The above copyright notice and this permission notice shall be included in all | ||||||
|  | copies or substantial portions of the Software. | ||||||
|  | 
 | ||||||
|  | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||||
|  | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||||
|  | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||||
|  | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||||
|  | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||||
|  | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||||
|  | SOFTWARE. | ||||||
							
								
								
									
										21
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								README.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,21 @@ | ||||||
|  | # <img src="app/Icon.png" alt="FCaster Logo" style="zoom:24%;" /> FCaster | ||||||
|  | 
 | ||||||
|  | FCaster is a native cross-platform application to cast media to a [FCast](https://fcast.org) Receiver, built with [Fyne](https://fyne.io).   | ||||||
|  | The protocol logic all packaged into the [FCast Library](https://pkg.go.dev/git.massivebox.net/massivebox/fcaster/fcast), which you can use in your own projects to build a FCast Sender! | ||||||
|  | 
 | ||||||
|  | Currently, the app only allows you to stream from URLs, but I will add a way to stream local files and Jellyfin media directly. (You can already stream Jellyfin media by copying the stream URL from Jellyfin and pasting it in the app - [detailed instructions](https://s.massive.box/fcaster-jellyfin)). | ||||||
|  | 
 | ||||||
|  | If you're on Android, I recommend you [disable battery optimizations](https://support.google.com/pixelphone/thread/299966895/turn-off-battery-optimization-for-an-app?hl=en) for FCaster, otherwise the app will disconnect when your device locks. | ||||||
|  | 
 | ||||||
|  | ## Screenshots | ||||||
|  | 
 | ||||||
|  | |  |  | | ||||||
|  | | --------------------------------- |-----------------------------------| | ||||||
|  | 
 | ||||||
|  | ## Download | ||||||
|  | 
 | ||||||
|  | Head over to the [Releases](/releases) page to find builds for your device. You can use [Obtanium](https://obtainium.imranr.dev/) to get automatic updates on Android. | ||||||
|  | 
 | ||||||
|  | ## License | ||||||
|  | 
 | ||||||
|  | Both the FCast Library and application are (c) MassiveBox 2025 and distributed under the MIT license. Read the LICENSE file to learn more. | ||||||
							
								
								
									
										8
									
								
								app/FyneApp.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								app/FyneApp.toml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | ||||||
|  | Website = "https://git.massive.box/massivebox/fincaster" | ||||||
|  | 
 | ||||||
|  | [Details] | ||||||
|  |   Icon = "Icon.png" | ||||||
|  |   Name = "FCaster" | ||||||
|  |   ID = "box.massive.fcaster" | ||||||
|  |   Version = "0.1.0" | ||||||
|  |   Build = 3 | ||||||
							
								
								
									
										
											BIN
										
									
								
								app/Icon.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/Icon.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 4.4 KiB | 
							
								
								
									
										87
									
								
								app/controller.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										87
									
								
								app/controller.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,87 @@ | ||||||
|  | package main | ||||||
|  | 
 | ||||||
|  | import ( | ||||||
|  | 	"errors" | ||||||
|  | 	"fmt" | ||||||
|  | 	"log" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | type Controller struct { | ||||||
|  | 	Model *Model | ||||||
|  | 	View  *View | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (c *Controller) LogAndShowError(err error) { | ||||||
|  | 	log.Printf("[ERR ] app: %s", err.Error()) | ||||||
|  | 	c.View.PopupError(err) | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (c *Controller) DiscoverDevices() { | ||||||
|  | 	go func() { | ||||||
|  | 		devices, err := c.Model.DiscoverDevices() | ||||||
|  | 		if err != nil { | ||||||
|  | 			c.LogAndShowError(fmt.Errorf("error discovering devices %v", err)) | ||||||
|  | 			return | ||||||
|  | 		} | ||||||
|  | 		if len(devices) == 0 { | ||||||
|  | 			c.LogAndShowError(errors.New("no devices found")) | ||||||
|  | 			return | ||||||
|  | 		} | ||||||
|  | 		c.View.MainScreen(devices) | ||||||
|  | 	}() | ||||||
|  | 	c.View.LoadingScreen() | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (c *Controller) StartCasting(selected string, mediaURL string) { | ||||||
|  | 
 | ||||||
|  | 	if selected == "" { | ||||||
|  | 		c.LogAndShowError(errors.New("no device selected")) | ||||||
|  | 		return | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	err := c.Model.ConnectToDevice(selected) | ||||||
|  | 	if err != nil { | ||||||
|  | 		c.LogAndShowError(fmt.Errorf("error connecting to device %v", err)) | ||||||
|  | 		return | ||||||
|  | 	} | ||||||
|  | 	go func() { | ||||||
|  | 		err = c.Model.StartCast(mediaURL) | ||||||
|  | 		if err != nil { | ||||||
|  | 			c.LogAndShowError(fmt.Errorf("error starting cast %v", err)) | ||||||
|  | 			c.DiscoverDevices() | ||||||
|  | 			return | ||||||
|  | 		} | ||||||
|  | 	}() | ||||||
|  | 	c.View.CastingScreen(selected) | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | // Note: these are app codes, they are NOT related to fcast opcodes! | ||||||
|  | const ( | ||||||
|  | 	ActionPlay        = 0 | ||||||
|  | 	ActionPause       = 1 | ||||||
|  | 	ActionSkipBack    = 2 | ||||||
|  | 	ActionSkipForward = 3 | ||||||
|  | 	ActionStop        = 4 | ||||||
|  | 	ActionVolumeUp    = 5 | ||||||
|  | 	ActionVolumeDown  = 6 | ||||||
|  | 	ArgsActionSeek    = 7 // seekTime | ||||||
|  | 
 | ||||||
|  | 	RespPlaybackUpdate = 0 // videoRuntime, currentTime | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | func (c *Controller) PlayerAction(action int, args ...float32) { | ||||||
|  | 	err := c.Model.PlayerAction(action, args...) | ||||||
|  | 	if err != nil { | ||||||
|  | 		c.LogAndShowError(fmt.Errorf("error performing action %v", err)) | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (c *Controller) ExitCasting() { | ||||||
|  | 	c.PlayerAction(ActionStop) | ||||||
|  | 	c.DiscoverDevices() | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (c *Controller) ReceiverResponse(action int, args ...float32) { | ||||||
|  | 	c.View.UpdateCastingScreen(action, args...) | ||||||
|  | } | ||||||
							
								
								
									
										15
									
								
								app/main.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								app/main.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | ||||||
|  | package main | ||||||
|  | 
 | ||||||
|  | func main() { | ||||||
|  | 
 | ||||||
|  | 	m := &Model{} | ||||||
|  | 	c := &Controller{Model: m} | ||||||
|  | 	v := NewView(c) | ||||||
|  | 
 | ||||||
|  | 	m.Controller = c | ||||||
|  | 	c.View = v | ||||||
|  | 
 | ||||||
|  | 	c.DiscoverDevices() | ||||||
|  | 	c.View.Start() | ||||||
|  | 
 | ||||||
|  | } | ||||||
							
								
								
									
										156
									
								
								app/model.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										156
									
								
								app/model.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,156 @@ | ||||||
|  | package main | ||||||
|  | 
 | ||||||
|  | import ( | ||||||
|  | 	"errors" | ||||||
|  | 	"fmt" | ||||||
|  | 	"git.massive.box/massivebox/fcaster/fcast" | ||||||
|  | 	"io" | ||||||
|  | 	"math" | ||||||
|  | 	"net/http" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | type Model struct { | ||||||
|  | 	Controller        *Controller | ||||||
|  | 	DiscoveredDevices []fcast.DiscoveredHost | ||||||
|  | 	Connection        *fcast.Connection | ||||||
|  | 	EventManager      *fcast.EventManager | ||||||
|  | 	Time              float32 | ||||||
|  | 	Length            float32 | ||||||
|  | 	Volume            float32 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (m *Model) DiscoverDevices() ([]string, error) { | ||||||
|  | 	devices, err := fcast.Discover() | ||||||
|  | 	if err != nil { | ||||||
|  | 		return nil, err | ||||||
|  | 	} | ||||||
|  | 	m.DiscoveredDevices = devices | ||||||
|  | 	var names []string | ||||||
|  | 	for _, d := range m.DiscoveredDevices { | ||||||
|  | 		names = append(names, d.Name) | ||||||
|  | 	} | ||||||
|  | 	return names, nil | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (m *Model) ConnectToDevice(name string) error { | ||||||
|  | 	device := &fcast.DiscoveredHost{} | ||||||
|  | 	for _, d := range m.DiscoveredDevices { | ||||||
|  | 		if d.Name == name { | ||||||
|  | 			device = &d | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 	if device.Name == "" { | ||||||
|  | 		return errors.New("device not found") | ||||||
|  | 	} | ||||||
|  | 	connection, err := fcast.Connect(device.IPv4) | ||||||
|  | 	if err != nil { | ||||||
|  | 		return err | ||||||
|  | 	} | ||||||
|  | 	m.Connection = connection | ||||||
|  | 	return nil | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (m *Model) StartCast(mediaURL string) error { | ||||||
|  | 
 | ||||||
|  | 	m.EventManager = &fcast.EventManager{} | ||||||
|  | 
 | ||||||
|  | 	m.EventManager.SetHandler(fcast.PlaybackUpdateMessage{}, func(message fcast.Message) { | ||||||
|  | 		msg := message.(*fcast.PlaybackUpdateMessage) | ||||||
|  | 		m.Length = msg.Duration | ||||||
|  | 		m.Time = msg.Time | ||||||
|  | 		m.Controller.ReceiverResponse(RespPlaybackUpdate, msg.Duration, msg.Time) | ||||||
|  | 	}) | ||||||
|  | 	m.EventManager.SetHandler(fcast.VolumeUpdateMessage{}, func(message fcast.Message) { | ||||||
|  | 		msg := message.(*fcast.VolumeUpdateMessage) | ||||||
|  | 		m.Volume = msg.Volume | ||||||
|  | 	}) | ||||||
|  | 	m.EventManager.SetHandler(fcast.PlaybackErrorMessage{}, func(message fcast.Message) { | ||||||
|  | 		msg := message.(*fcast.PlaybackErrorMessage) | ||||||
|  | 		m.Controller.LogAndShowError(fmt.Errorf("playback error: %s", msg.Message)) | ||||||
|  | 	}) | ||||||
|  | 
 | ||||||
|  | 	if mediaURL != "" { | ||||||
|  | 		mediaType, err := getMediaType(mediaURL) | ||||||
|  | 		if err != nil { | ||||||
|  | 			return err | ||||||
|  | 		} | ||||||
|  | 		err = m.Connection.SendMessage(&fcast.PlayMessage{ | ||||||
|  | 			Container: mediaType, | ||||||
|  | 			Url:       mediaURL, | ||||||
|  | 		}) | ||||||
|  | 		if err != nil { | ||||||
|  | 			return err | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	return m.Connection.ListenForMessages(m.EventManager) | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (m *Model) PlayerAction(action int, args ...float32) error { | ||||||
|  | 
 | ||||||
|  | 	var message fcast.Message | ||||||
|  | 
 | ||||||
|  | 	switch action { | ||||||
|  | 	case ActionPlay: | ||||||
|  | 		message = &fcast.ResumeMessage{} | ||||||
|  | 		break | ||||||
|  | 	case ActionPause: | ||||||
|  | 		message = &fcast.PauseMessage{} | ||||||
|  | 		break | ||||||
|  | 	case ActionSkipBack: | ||||||
|  | 		message = &fcast.SeekMessage{Time: int(m.Time - 10)} | ||||||
|  | 		break | ||||||
|  | 	case ActionSkipForward: | ||||||
|  | 		message = &fcast.SeekMessage{Time: int(m.Time + 10)} | ||||||
|  | 		break | ||||||
|  | 	case ActionStop: | ||||||
|  | 		message = &fcast.StopMessage{} | ||||||
|  | 		break | ||||||
|  | 	case ActionVolumeUp: | ||||||
|  | 		message = &fcast.SetVolumeMessage{Volume: m.Volume + 0.1} | ||||||
|  | 		break | ||||||
|  | 	case ActionVolumeDown: | ||||||
|  | 		message = &fcast.SetVolumeMessage{Volume: m.Volume - 0.1} | ||||||
|  | 		break | ||||||
|  | 	case ArgsActionSeek: | ||||||
|  | 		if math.Abs(float64(args[0]-m.Time)) < 2 { | ||||||
|  | 			return nil | ||||||
|  | 		} | ||||||
|  | 		message = &fcast.SeekMessage{Time: int(args[0])} | ||||||
|  | 		break | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	return m.Connection.SendMessage(message) | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func getMediaType(url string) (string, error) { | ||||||
|  | 	client := &http.Client{} | ||||||
|  | 
 | ||||||
|  | 	req, err := http.NewRequest("GET", url, nil) | ||||||
|  | 	if err != nil { | ||||||
|  | 		return "", err | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	req.Header.Set("Range", "bytes=0-512") | ||||||
|  | 
 | ||||||
|  | 	resp, err := client.Do(req) | ||||||
|  | 	if err != nil { | ||||||
|  | 		return "", err | ||||||
|  | 	} | ||||||
|  | 	defer resp.Body.Close() | ||||||
|  | 
 | ||||||
|  | 	if resp.StatusCode != http.StatusOK && resp.StatusCode != http.StatusPartialContent { | ||||||
|  | 		return "", fmt.Errorf("server returned unexpected status: %s", resp.Status) | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	buffer := make([]byte, 512) | ||||||
|  | 	n, err := resp.Body.Read(buffer) | ||||||
|  | 	if err != nil && err != io.EOF { | ||||||
|  | 		return "", err | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	mimeType := http.DetectContentType(buffer[:n]) | ||||||
|  | 	return mimeType, nil | ||||||
|  | } | ||||||
							
								
								
									
										141
									
								
								app/view.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										141
									
								
								app/view.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,141 @@ | ||||||
|  | package main | ||||||
|  | 
 | ||||||
|  | import ( | ||||||
|  | 	"fmt" | ||||||
|  | 	"fyne.io/fyne/v2" | ||||||
|  | 	"fyne.io/fyne/v2/app" | ||||||
|  | 	"fyne.io/fyne/v2/container" | ||||||
|  | 	"fyne.io/fyne/v2/dialog" | ||||||
|  | 	"fyne.io/fyne/v2/theme" | ||||||
|  | 	"fyne.io/fyne/v2/widget" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | type CastingScreenElements struct { | ||||||
|  | 	TimestampLabel, ProgressBar, DurationLabel fyne.CanvasObject | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type View struct { | ||||||
|  | 	Controller            *Controller | ||||||
|  | 	Window                fyne.Window | ||||||
|  | 	CastingScreenElements CastingScreenElements | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (v *View) PopupError(err error) { | ||||||
|  | 	dialog.ShowError(err, v.Window) | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func NewView(controller *Controller) *View { | ||||||
|  | 	v := &View{ | ||||||
|  | 		Controller: controller, | ||||||
|  | 		Window:     app.New().NewWindow("FCaster"), | ||||||
|  | 	} | ||||||
|  | 	v.Window.Resize(fyne.NewSize(300, 300)) | ||||||
|  | 	return v | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (v *View) Start() { | ||||||
|  | 	v.Window.ShowAndRun() | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (v *View) LoadingScreen() { | ||||||
|  | 
 | ||||||
|  | 	loading := container.NewVBox( | ||||||
|  | 		widget.NewLabel("Discovering devices..."), | ||||||
|  | 		widget.NewProgressBarInfinite(), | ||||||
|  | 		widget.NewButton("Refresh", func() { v.Controller.DiscoverDevices() }), | ||||||
|  | 	) | ||||||
|  | 	fyne.Do(func() { | ||||||
|  | 		v.Window.SetContent(loading) | ||||||
|  | 	}) | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (v *View) MainScreen(deviceNames []string) { | ||||||
|  | 
 | ||||||
|  | 	selector := widget.NewSelect(deviceNames, nil) | ||||||
|  | 	reloadBtn := widget.NewButtonWithIcon("", theme.ViewRefreshIcon(), func() { | ||||||
|  | 		v.Controller.DiscoverDevices() | ||||||
|  | 	}) | ||||||
|  | 	entry := widget.NewEntry() | ||||||
|  | 
 | ||||||
|  | 	fyne.Do(func() { | ||||||
|  | 		v.Window.SetContent(container.NewVBox( | ||||||
|  | 			widget.NewLabel("Select the device:"), | ||||||
|  | 			container.NewBorder( | ||||||
|  | 				nil, nil, nil, | ||||||
|  | 				container.NewVBox(reloadBtn), | ||||||
|  | 				selector, | ||||||
|  | 			), | ||||||
|  | 			widget.NewLabel("Enter the media URL:"), | ||||||
|  | 			entry, | ||||||
|  | 			widget.NewButton("Start Casting", func() { | ||||||
|  | 				v.Controller.StartCasting(selector.Selected, entry.Text) | ||||||
|  | 			}), | ||||||
|  | 			widget.NewButton("Join Existing Casting", func() { | ||||||
|  | 				v.Controller.StartCasting(selector.Selected, "") | ||||||
|  | 			}), | ||||||
|  | 		)) | ||||||
|  | 	}) | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (v *View) CastingScreen(deviceName string) { | ||||||
|  | 
 | ||||||
|  | 	v.CastingScreenElements = CastingScreenElements{ | ||||||
|  | 		TimestampLabel: widget.NewLabel("00:00"), | ||||||
|  | 		DurationLabel:  widget.NewLabel("00:00"), | ||||||
|  | 		ProgressBar:    widget.NewSlider(0, 100), | ||||||
|  | 	} | ||||||
|  | 	el := v.CastingScreenElements | ||||||
|  | 
 | ||||||
|  | 	el.ProgressBar.(*widget.Slider).OnChanged = func(f float64) { | ||||||
|  | 		fyne.Do(func() { | ||||||
|  | 			el.TimestampLabel.(*widget.Label).SetText(formatTime(int(f))) | ||||||
|  | 		}) | ||||||
|  | 	} | ||||||
|  | 	el.ProgressBar.(*widget.Slider).OnChangeEnded = func(f float64) { | ||||||
|  | 		v.Controller.PlayerAction(ArgsActionSeek, float32(f)) | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	v.Window.SetContent(container.NewVBox( | ||||||
|  | 		widget.NewLabel(deviceName), | ||||||
|  | 		container.NewBorder( | ||||||
|  | 			nil, nil, el.TimestampLabel, el.DurationLabel, | ||||||
|  | 			el.ProgressBar, | ||||||
|  | 		), | ||||||
|  | 		widget.NewButton("Exit", func() { v.Controller.ExitCasting() }), | ||||||
|  | 		container.NewHBox( | ||||||
|  | 			widget.NewButtonWithIcon("", theme.MediaPlayIcon(), func() { v.Controller.PlayerAction(ActionPlay) }), | ||||||
|  | 			widget.NewButtonWithIcon("", theme.MediaPauseIcon(), func() { v.Controller.PlayerAction(ActionPause) }), | ||||||
|  | 			widget.NewButtonWithIcon("", theme.MediaFastRewindIcon(), func() { v.Controller.PlayerAction(ActionSkipBack) }), | ||||||
|  | 			widget.NewButtonWithIcon("", theme.MediaFastForwardIcon(), func() { v.Controller.PlayerAction(ActionSkipForward) }), | ||||||
|  | 			widget.NewButtonWithIcon("", theme.MediaStopIcon(), func() { v.Controller.PlayerAction(ActionStop) }), | ||||||
|  | 			widget.NewButtonWithIcon("", theme.VolumeDownIcon(), func() { v.Controller.PlayerAction(ActionVolumeDown) }), | ||||||
|  | 			widget.NewButtonWithIcon("", theme.VolumeUpIcon(), func() { v.Controller.PlayerAction(ActionVolumeUp) }), | ||||||
|  | 		), | ||||||
|  | 	)) | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (v *View) UpdateCastingScreen(action int, args ...float32) { | ||||||
|  | 	fyne.Do(func() { | ||||||
|  | 		switch action { | ||||||
|  | 		case RespPlaybackUpdate: | ||||||
|  | 			v.CastingScreenElements.ProgressBar.(*widget.Slider).Max = float64(args[0]) | ||||||
|  | 			v.CastingScreenElements.ProgressBar.(*widget.Slider).SetValue(float64(args[1])) | ||||||
|  | 			// timestamp label is updated from ProgressBar OnChange listener | ||||||
|  | 			v.CastingScreenElements.DurationLabel.(*widget.Label).SetText(formatTime(int(args[0]))) | ||||||
|  | 			return | ||||||
|  | 		} | ||||||
|  | 	}) | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func formatTime(seconds int) string { | ||||||
|  | 	hours := seconds / 3600 | ||||||
|  | 	minutes := (seconds % 3600) / 60 | ||||||
|  | 	sec := seconds % 60 | ||||||
|  | 	if hours == 0 { | ||||||
|  | 		return fmt.Sprintf("%02d:%02d", minutes, sec) | ||||||
|  | 	} | ||||||
|  | 	return fmt.Sprintf("%02d:%02d:%02d", hours, minutes, sec) | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								assets/castView.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/castView.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 11 KiB | 
							
								
								
									
										
											BIN
										
									
								
								assets/mainView.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/mainView.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 24 KiB | 
							
								
								
									
										78
									
								
								fcast/connection.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								fcast/connection.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,78 @@ | ||||||
|  | package fcast | ||||||
|  | 
 | ||||||
|  | import ( | ||||||
|  | 	"encoding/binary" | ||||||
|  | 	"encoding/json" | ||||||
|  | 	"errors" | ||||||
|  | 	"log" | ||||||
|  | 	"net" | ||||||
|  | 	"strconv" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | type Connection struct { | ||||||
|  | 	net.Conn | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func Connect(host string) (*Connection, error) { | ||||||
|  | 	conn, err := net.Dial("tcp", host+":"+strconv.Itoa(DefaultPort)) | ||||||
|  | 	return &Connection{conn}, err | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (c *Connection) ListenForMessages(em *EventManager) error { | ||||||
|  | 
 | ||||||
|  | 	c.addPingHandlerIfNotSet(em) | ||||||
|  | 
 | ||||||
|  | 	for { | ||||||
|  | 
 | ||||||
|  | 		var ( | ||||||
|  | 			bodyLenBuf = make([]byte, 4) | ||||||
|  | 			opCodeBuf  [1]byte | ||||||
|  | 			// bodyBuf's size depends on bodyLen's value | ||||||
|  | 		) | ||||||
|  | 
 | ||||||
|  | 		_, err := c.Read(bodyLenBuf) | ||||||
|  | 		bodyBuf := make([]byte, binary.LittleEndian.Uint32(bodyLenBuf)-1) | ||||||
|  | 		_, err = c.Read(opCodeBuf[:]) | ||||||
|  | 		_, err = c.Read(bodyBuf) | ||||||
|  | 
 | ||||||
|  | 		if err != nil { | ||||||
|  | 			if errors.Is(err, net.ErrClosed) { | ||||||
|  | 				return nil | ||||||
|  | 			} | ||||||
|  | 			return err | ||||||
|  | 		} | ||||||
|  | 
 | ||||||
|  | 		rawMsg, err := DeserializeRaw(bodyLenBuf, opCodeBuf[:], bodyBuf) | ||||||
|  | 		if err != nil { | ||||||
|  | 			return err | ||||||
|  | 		} | ||||||
|  | 
 | ||||||
|  | 		err = em.dispatchMessage(rawMsg) | ||||||
|  | 		if err != nil { | ||||||
|  | 			return err | ||||||
|  | 		} | ||||||
|  | 
 | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	return nil | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (c *Connection) addPingHandlerIfNotSet(em *EventManager) { | ||||||
|  | 	if em.codes[Ping].handler == nil { | ||||||
|  | 		em.SetHandler(PingMessage{}, func(message Message) { | ||||||
|  | 			err := c.SendMessage(PongMessage{}) | ||||||
|  | 			if err != nil { | ||||||
|  | 				log.Println("[ERROR} fcast: error in default pong responder:", err) | ||||||
|  | 			} | ||||||
|  | 		}) | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (c *Connection) SendMessage(message Message) error { | ||||||
|  | 	body, _ := json.Marshal(message) | ||||||
|  | 	rawMessage := NewMessage(message.getOpCode(), body) | ||||||
|  | 	serialized := SerializeRaw(rawMessage) | ||||||
|  | 	_, err := c.Write(serialized) | ||||||
|  | 	return err | ||||||
|  | } | ||||||
							
								
								
									
										57
									
								
								fcast/discovery.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								fcast/discovery.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,57 @@ | ||||||
|  | package fcast | ||||||
|  | 
 | ||||||
|  | import ( | ||||||
|  | 	"github.com/hashicorp/mdns" | ||||||
|  | 	"log" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | type DiscoveredHost struct { | ||||||
|  | 	Name string | ||||||
|  | 	IPv4 string | ||||||
|  | 	IPv6 string | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func Discover() ([]DiscoveredHost, error) { | ||||||
|  | 
 | ||||||
|  | 	entriesCh := make(chan *mdns.ServiceEntry) | ||||||
|  | 	var discoveredHosts []DiscoveredHost | ||||||
|  | 
 | ||||||
|  | 	go func() { | ||||||
|  | 		for entry := range entriesCh { | ||||||
|  | 			if !validateEntry(entry) { | ||||||
|  | 				continue | ||||||
|  | 			} | ||||||
|  | 			discoveredHosts = append(discoveredHosts, DiscoveredHost{ | ||||||
|  | 				Name: entry.Name, | ||||||
|  | 				IPv4: entry.AddrV4.String(), | ||||||
|  | 				IPv6: entry.AddrV6.String(), | ||||||
|  | 			}) | ||||||
|  | 		} | ||||||
|  | 	}() | ||||||
|  | 
 | ||||||
|  | 	done := make(chan struct{}) | ||||||
|  | 	go func() { | ||||||
|  | 		err := mdns.Lookup("_fcast._tcp", entriesCh) | ||||||
|  | 		if err != nil { | ||||||
|  | 			log.Println("[ERROR] mdns: lookup error:", err) | ||||||
|  | 		} | ||||||
|  | 		close(entriesCh) | ||||||
|  | 		close(done) | ||||||
|  | 	}() | ||||||
|  | 
 | ||||||
|  | 	select { | ||||||
|  | 	case <-done: | ||||||
|  | 		return discoveredHosts, nil | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func validateEntry(entry *mdns.ServiceEntry) bool { | ||||||
|  | 
 | ||||||
|  | 	if entry.Port != DefaultPort { | ||||||
|  | 		return false | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	return true | ||||||
|  | 
 | ||||||
|  | } | ||||||
							
								
								
									
										56
									
								
								fcast/events.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								fcast/events.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,56 @@ | ||||||
|  | package fcast | ||||||
|  | 
 | ||||||
|  | import ( | ||||||
|  | 	"encoding/json" | ||||||
|  | 	"log" | ||||||
|  | 	"reflect" | ||||||
|  | 	"sync" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | type EventHandler func(message Message) | ||||||
|  | type CodeRegistry struct { | ||||||
|  | 	handler     EventHandler | ||||||
|  | 	constructor func() Message | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type EventManager struct { | ||||||
|  | 	codes map[OpCode]CodeRegistry | ||||||
|  | 	mu    sync.RWMutex | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (em *EventManager) SetHandler(message Message, handler EventHandler) { | ||||||
|  | 	em.mu.Lock() | ||||||
|  | 	defer em.mu.Unlock() | ||||||
|  | 
 | ||||||
|  | 	if em.codes == nil { | ||||||
|  | 		em.codes = make(map[OpCode]CodeRegistry) | ||||||
|  | 	} | ||||||
|  | 	em.codes[message.getOpCode()] = CodeRegistry{ | ||||||
|  | 		handler: handler, | ||||||
|  | 		constructor: func() Message { | ||||||
|  | 			return reflect.New(reflect.TypeOf(message)).Interface().(Message) | ||||||
|  | 		}, | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (em *EventManager) dispatchMessage(raw *RawMessage) error { | ||||||
|  | 
 | ||||||
|  | 	if _, exists := em.codes[raw.Header.OpCode]; !exists { | ||||||
|  | 		log.Printf("[INFO] fcast: Got a message without a listener - OpCode=%d, Size=%d, Body=%s\n", raw.Header.OpCode, raw.Header.Size, string(raw.Body)) | ||||||
|  | 		return nil | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	constructor := em.codes[raw.Header.OpCode].constructor | ||||||
|  | 	handler := em.codes[raw.Header.OpCode].handler | ||||||
|  | 
 | ||||||
|  | 	msg := constructor() | ||||||
|  | 	if len(raw.Body) > 0 { | ||||||
|  | 		if err := json.Unmarshal(raw.Body, msg); err != nil { | ||||||
|  | 			return err | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | 	handler(msg) | ||||||
|  | 	return nil | ||||||
|  | 
 | ||||||
|  | } | ||||||
							
								
								
									
										47
									
								
								fcast/message.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								fcast/message.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,47 @@ | ||||||
|  | package fcast | ||||||
|  | 
 | ||||||
|  | type Message interface { | ||||||
|  | 	getOpCode() OpCode | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (m PlayMessage) getOpCode() OpCode { | ||||||
|  | 	return Play | ||||||
|  | } | ||||||
|  | func (m SeekMessage) getOpCode() OpCode { | ||||||
|  | 	return Seek | ||||||
|  | } | ||||||
|  | func (m PlaybackUpdateMessage) getOpCode() OpCode { | ||||||
|  | 	return PlaybackUpdate | ||||||
|  | } | ||||||
|  | func (m SetVolumeMessage) getOpCode() OpCode { | ||||||
|  | 	return SetVolume | ||||||
|  | } | ||||||
|  | func (m VolumeUpdateMessage) getOpCode() OpCode { | ||||||
|  | 	return VolumeUpdate | ||||||
|  | } | ||||||
|  | func (m PlaybackErrorMessage) getOpCode() OpCode { | ||||||
|  | 	return PlaybackError | ||||||
|  | } | ||||||
|  | func (m VersionMessage) getOpCode() OpCode { | ||||||
|  | 	return Version | ||||||
|  | } | ||||||
|  | func (m SetSpeedMessage) getOpCode() OpCode { | ||||||
|  | 	return SetSpeed | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | // body-less | ||||||
|  | func (m PauseMessage) getOpCode() OpCode { | ||||||
|  | 	return Pause | ||||||
|  | } | ||||||
|  | func (m ResumeMessage) getOpCode() OpCode { | ||||||
|  | 	return Resume | ||||||
|  | } | ||||||
|  | func (m StopMessage) getOpCode() OpCode { | ||||||
|  | 	return Stop | ||||||
|  | } | ||||||
|  | func (m PingMessage) getOpCode() OpCode { | ||||||
|  | 	return Ping | ||||||
|  | } | ||||||
|  | func (m PongMessage) getOpCode() OpCode { | ||||||
|  | 	return Pong | ||||||
|  | } | ||||||
							
								
								
									
										76
									
								
								fcast/protocol.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										76
									
								
								fcast/protocol.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,76 @@ | ||||||
|  | package fcast | ||||||
|  | 
 | ||||||
|  | const ( | ||||||
|  | 	DefaultPort = 46899 | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | type PlayMessage struct { | ||||||
|  | 	Container string            `json:"container"` | ||||||
|  | 	Url       string            `json:"url,omitempty"` | ||||||
|  | 	Content   string            `json:"content,omitempty"` | ||||||
|  | 	Time      int               `json:"time"`              // start time of playback (s) | ||||||
|  | 	Speed     float32           `json:"speed,omitempty"`   // 1=100%, 1 is default | ||||||
|  | 	Headers   map[string]string `json:"headers,omitempty"` // headers to be passed to the server when requesting media | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type SeekMessage struct { | ||||||
|  | 	Time int `json:"time"` // time to seek in seconds | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type PlaybackUpdateMessage struct { | ||||||
|  | 	GenerationTime int64         `json:"generationTime"` // generation time in UNIX (ms) | ||||||
|  | 	Time           float32       `json:"time"`           // current time playing (s) | ||||||
|  | 	Duration       float32       `json:"duration"` | ||||||
|  | 	State          PlaybackState `json:"state"` | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type SetVolumeMessage struct { | ||||||
|  | 	Volume float32 `json:"volume"` // range: 0-1 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type VolumeUpdateMessage struct { | ||||||
|  | 	GenerationTime int64   `json:"generationTime"` | ||||||
|  | 	Volume         float32 `json:"volume"` // range: 0-1 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type SetSpeedMessage struct { | ||||||
|  | 	Speed float32 `json:"speed"` | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type PlaybackErrorMessage struct { | ||||||
|  | 	Message string `json:"message"` | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type VersionMessage struct { | ||||||
|  | 	Version float32 `json:"version"` | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type PauseMessage struct{} | ||||||
|  | type ResumeMessage struct{} | ||||||
|  | type StopMessage struct{} | ||||||
|  | type PingMessage struct{} | ||||||
|  | type PongMessage struct{} | ||||||
|  | 
 | ||||||
|  | type PlaybackState uint8 | ||||||
|  | 
 | ||||||
|  | const ( | ||||||
|  | 	Play           OpCode = 1 | ||||||
|  | 	Pause          OpCode = 2 | ||||||
|  | 	Resume         OpCode = 3 | ||||||
|  | 	Stop           OpCode = 4 | ||||||
|  | 	Seek           OpCode = 5 | ||||||
|  | 	PlaybackUpdate OpCode = 6 | ||||||
|  | 	VolumeUpdate   OpCode = 7 | ||||||
|  | 	SetVolume      OpCode = 8 | ||||||
|  | 	PlaybackError  OpCode = 9 | ||||||
|  | 	SetSpeed       OpCode = 10 | ||||||
|  | 	Version        OpCode = 11 | ||||||
|  | 	Ping           OpCode = 12 | ||||||
|  | 	Pong           OpCode = 13 | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | const ( | ||||||
|  | 	Idle    PlaybackState = 0 | ||||||
|  | 	Playing PlaybackState = 1 | ||||||
|  | 	Paused  PlaybackState = 2 | ||||||
|  | ) | ||||||
							
								
								
									
										54
									
								
								fcast/raw.go
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								fcast/raw.go
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,54 @@ | ||||||
|  | package fcast | ||||||
|  | 
 | ||||||
|  | import ( | ||||||
|  | 	"encoding/binary" | ||||||
|  | 	"errors" | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | type OpCode uint8 | ||||||
|  | 
 | ||||||
|  | type MessageHeader struct { | ||||||
|  | 	Size   uint32 // little endian (4) 0-3 | ||||||
|  | 	OpCode OpCode // (1) 4-4 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | type RawMessage struct { | ||||||
|  | 	Header MessageHeader // 0-4 | ||||||
|  | 	Body   []byte        // 5- | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func NewMessage(op OpCode, body []byte) *RawMessage { | ||||||
|  | 	return &RawMessage{ | ||||||
|  | 		Header: MessageHeader{ | ||||||
|  | 			Size:   uint32(len(body) + 1), | ||||||
|  | 			OpCode: op, | ||||||
|  | 		}, | ||||||
|  | 		Body: body, | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func SerializeRaw(message *RawMessage) []byte { | ||||||
|  | 	buf := make([]byte, 4+message.Header.Size) | ||||||
|  | 	binary.LittleEndian.PutUint32(buf[0:4], message.Header.Size) | ||||||
|  | 	buf[4] = byte(message.Header.OpCode) | ||||||
|  | 	copy(buf[5:], message.Body) | ||||||
|  | 
 | ||||||
|  | 	return buf | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | var ( | ||||||
|  | 	ErrHeaderTooShort = errors.New("header is too short") | ||||||
|  | 	ErrBodyTooShort   = errors.New("body is too short") | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | func DeserializeRaw(bodyLen, opCode, body []byte) (*RawMessage, error) { | ||||||
|  | 
 | ||||||
|  | 	var msg RawMessage | ||||||
|  | 
 | ||||||
|  | 	msg.Header.Size = binary.LittleEndian.Uint32(bodyLen) | ||||||
|  | 	msg.Header.OpCode = OpCode(uint8(opCode[0])) | ||||||
|  | 	msg.Body = body | ||||||
|  | 
 | ||||||
|  | 	return &msg, nil | ||||||
|  | 
 | ||||||
|  | } | ||||||
							
								
								
									
										47
									
								
								go.mod
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								go.mod
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,47 @@ | ||||||
|  | module git.massive.box/massivebox/fcaster | ||||||
|  | 
 | ||||||
|  | go 1.24.3 | ||||||
|  | 
 | ||||||
|  | require ( | ||||||
|  | 	fyne.io/fyne/v2 v2.6.1 | ||||||
|  | 	github.com/hashicorp/mdns v1.0.6 | ||||||
|  | ) | ||||||
|  | 
 | ||||||
|  | require ( | ||||||
|  | 	fyne.io/systray v1.11.0 // indirect | ||||||
|  | 	github.com/BurntSushi/toml v1.4.0 // indirect | ||||||
|  | 	github.com/davecgh/go-spew v1.1.1 // indirect | ||||||
|  | 	github.com/fredbi/uri v1.1.0 // indirect | ||||||
|  | 	github.com/fsnotify/fsnotify v1.7.0 // indirect | ||||||
|  | 	github.com/fyne-io/gl-js v0.1.0 // indirect | ||||||
|  | 	github.com/fyne-io/glfw-js v0.2.0 // indirect | ||||||
|  | 	github.com/fyne-io/image v0.1.1 // indirect | ||||||
|  | 	github.com/fyne-io/oksvg v0.1.0 // indirect | ||||||
|  | 	github.com/go-gl/gl v0.0.0-20231021071112-07e5d0ea2e71 // indirect | ||||||
|  | 	github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a // indirect | ||||||
|  | 	github.com/go-text/render v0.2.0 // indirect | ||||||
|  | 	github.com/go-text/typesetting v0.2.1 // indirect | ||||||
|  | 	github.com/godbus/dbus/v5 v5.1.0 // indirect | ||||||
|  | 	github.com/hack-pad/go-indexeddb v0.3.2 // indirect | ||||||
|  | 	github.com/hack-pad/safejs v0.1.0 // indirect | ||||||
|  | 	github.com/jeandeaual/go-locale v0.0.0-20241217141322-fcc2cadd6f08 // indirect | ||||||
|  | 	github.com/jsummers/gobmp v0.0.0-20230614200233-a9de23ed2e25 // indirect | ||||||
|  | 	github.com/kr/text v0.2.0 // indirect | ||||||
|  | 	github.com/miekg/dns v1.1.55 // indirect | ||||||
|  | 	github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect | ||||||
|  | 	github.com/nicksnyder/go-i18n/v2 v2.5.1 // indirect | ||||||
|  | 	github.com/pmezard/go-difflib v1.0.0 // indirect | ||||||
|  | 	github.com/rymdport/portal v0.4.1 // indirect | ||||||
|  | 	github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c // indirect | ||||||
|  | 	github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef // indirect | ||||||
|  | 	github.com/stretchr/testify v1.10.0 // indirect | ||||||
|  | 	github.com/yuin/goldmark v1.7.8 // indirect | ||||||
|  | 	golang.org/x/image v0.24.0 // indirect | ||||||
|  | 	golang.org/x/mod v0.19.0 // indirect | ||||||
|  | 	golang.org/x/net v0.35.0 // indirect | ||||||
|  | 	golang.org/x/sync v0.11.0 // indirect | ||||||
|  | 	golang.org/x/sys v0.30.0 // indirect | ||||||
|  | 	golang.org/x/text v0.22.0 // indirect | ||||||
|  | 	golang.org/x/tools v0.23.0 // indirect | ||||||
|  | 	gopkg.in/yaml.v3 v3.0.1 // indirect | ||||||
|  | ) | ||||||
							
								
								
									
										161
									
								
								go.sum
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										161
									
								
								go.sum
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,161 @@ | ||||||
|  | fyne.io/fyne/v2 v2.6.1 h1:kjPJD4/rBS9m2nHJp+npPSuaK79yj6ObMTuzR6VQ1Is= | ||||||
|  | fyne.io/fyne/v2 v2.6.1/go.mod h1:YZt7SksjvrSNJCwbWFV32WON3mE1Sr7L41D29qMZ/lU= | ||||||
|  | fyne.io/systray v1.11.0 h1:D9HISlxSkx+jHSniMBR6fCFOUjk1x/OOOJLa9lJYAKg= | ||||||
|  | fyne.io/systray v1.11.0/go.mod h1:RVwqP9nYMo7h5zViCBHri2FgjXF7H2cub7MAq4NSoLs= | ||||||
|  | github.com/BurntSushi/toml v1.4.0 h1:kuoIxZQy2WRRk1pttg9asf+WVv6tWQuBNVmK8+nqPr0= | ||||||
|  | github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= | ||||||
|  | github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= | ||||||
|  | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= | ||||||
|  | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||||||
|  | github.com/felixge/fgprof v0.9.3 h1:VvyZxILNuCiUCSXtPtYmmtGvb65nqXh2QFWc0Wpf2/g= | ||||||
|  | github.com/felixge/fgprof v0.9.3/go.mod h1:RdbpDgzqYVh/T9fPELJyV7EYJuHB55UTEULNun8eiPw= | ||||||
|  | github.com/fredbi/uri v1.1.0 h1:OqLpTXtyRg9ABReqvDGdJPqZUxs8cyBDOMXBbskCaB8= | ||||||
|  | github.com/fredbi/uri v1.1.0/go.mod h1:aYTUoAXBOq7BLfVJ8GnKmfcuURosB1xyHDIfWeC/iW4= | ||||||
|  | github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= | ||||||
|  | github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= | ||||||
|  | github.com/fyne-io/gl-js v0.1.0 h1:8luJzNs0ntEAJo+8x8kfUOXujUlP8gB3QMOxO2mUdpM= | ||||||
|  | github.com/fyne-io/gl-js v0.1.0/go.mod h1:ZcepK8vmOYLu96JoxbCKJy2ybr+g1pTnaBDdl7c3ajI= | ||||||
|  | github.com/fyne-io/glfw-js v0.2.0 h1:8GUZtN2aCoTPNqgRDxK5+kn9OURINhBEBc7M4O1KrmM= | ||||||
|  | github.com/fyne-io/glfw-js v0.2.0/go.mod h1:Ri6te7rdZtBgBpxLW19uBpp3Dl6K9K/bRaYdJ22G8Jk= | ||||||
|  | github.com/fyne-io/image v0.1.1 h1:WH0z4H7qfvNUw5l4p3bC1q70sa5+YWVt6HCj7y4VNyA= | ||||||
|  | github.com/fyne-io/image v0.1.1/go.mod h1:xrfYBh6yspc+KjkgdZU/ifUC9sPA5Iv7WYUBzQKK7JM= | ||||||
|  | github.com/fyne-io/oksvg v0.1.0 h1:7EUKk3HV3Y2E+qypp3nWqMXD7mum0hCw2KEGhI1fnBw= | ||||||
|  | github.com/fyne-io/oksvg v0.1.0/go.mod h1:dJ9oEkPiWhnTFNCmRgEze+YNprJF7YRbpjgpWS4kzoI= | ||||||
|  | github.com/go-gl/gl v0.0.0-20231021071112-07e5d0ea2e71 h1:5BVwOaUSBTlVZowGO6VZGw2H/zl9nrd3eCZfYV+NfQA= | ||||||
|  | github.com/go-gl/gl v0.0.0-20231021071112-07e5d0ea2e71/go.mod h1:9YTyiznxEY1fVinfM7RvRcjRHbw2xLBJ3AAGIT0I4Nw= | ||||||
|  | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a h1:vxnBhFDDT+xzxf1jTJKMKZw3H0swfWk9RpWbBbDK5+0= | ||||||
|  | github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= | ||||||
|  | github.com/go-text/render v0.2.0 h1:LBYoTmp5jYiJ4NPqDc2pz17MLmA3wHw1dZSVGcOdeAc= | ||||||
|  | github.com/go-text/render v0.2.0/go.mod h1:CkiqfukRGKJA5vZZISkjSYrcdtgKQWRa2HIzvwNN5SU= | ||||||
|  | github.com/go-text/typesetting v0.2.1 h1:x0jMOGyO3d1qFAPI0j4GSsh7M0Q3Ypjzr4+CEVg82V8= | ||||||
|  | github.com/go-text/typesetting v0.2.1/go.mod h1:mTOxEwasOFpAMBjEQDhdWRckoLLeI/+qrQeBCTGEt6M= | ||||||
|  | github.com/go-text/typesetting-utils v0.0.0-20241103174707-87a29e9e6066 h1:qCuYC+94v2xrb1PoS4NIDe7DGYtLnU2wWiQe9a1B1c0= | ||||||
|  | github.com/go-text/typesetting-utils v0.0.0-20241103174707-87a29e9e6066/go.mod h1:DDxDdQEnB70R8owOx3LVpEFvpMK9eeH1o2r0yZhFI9o= | ||||||
|  | github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk= | ||||||
|  | github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= | ||||||
|  | github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= | ||||||
|  | github.com/google/pprof v0.0.0-20211214055906-6f57359322fd h1:1FjCyPC+syAzJ5/2S8fqdZK1R22vvA0J7JZKcuOIQ7Y= | ||||||
|  | github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= | ||||||
|  | github.com/hack-pad/go-indexeddb v0.3.2 h1:DTqeJJYc1usa45Q5r52t01KhvlSN02+Oq+tQbSBI91A= | ||||||
|  | github.com/hack-pad/go-indexeddb v0.3.2/go.mod h1:QvfTevpDVlkfomY498LhstjwbPW6QC4VC/lxYb0Kom0= | ||||||
|  | github.com/hack-pad/safejs v0.1.0 h1:qPS6vjreAqh2amUqj4WNG1zIw7qlRQJ9K10eDKMCnE8= | ||||||
|  | github.com/hack-pad/safejs v0.1.0/go.mod h1:HdS+bKF1NrE72VoXZeWzxFOVQVUSqZJAG0xNCnb+Tio= | ||||||
|  | github.com/hashicorp/mdns v1.0.6 h1:SV8UcjnQ/+C7KeJ/QeVD/mdN2EmzYfcGfufcuzxfCLQ= | ||||||
|  | github.com/hashicorp/mdns v1.0.6/go.mod h1:X4+yWh+upFECLOki1doUPaKpgNQII9gy4bUdCYKNhmM= | ||||||
|  | github.com/jeandeaual/go-locale v0.0.0-20241217141322-fcc2cadd6f08 h1:wMeVzrPO3mfHIWLZtDcSaGAe2I4PW9B/P5nMkRSwCAc= | ||||||
|  | github.com/jeandeaual/go-locale v0.0.0-20241217141322-fcc2cadd6f08/go.mod h1:ZDXo8KHryOWSIqnsb/CiDq7hQUYryCgdVnxbj8tDG7o= | ||||||
|  | github.com/jsummers/gobmp v0.0.0-20230614200233-a9de23ed2e25 h1:YLvr1eE6cdCqjOe972w/cYF+FjW34v27+9Vo5106B4M= | ||||||
|  | github.com/jsummers/gobmp v0.0.0-20230614200233-a9de23ed2e25/go.mod h1:kLgvv7o6UM+0QSf0QjAse3wReFDsb9qbZJdfexWlrQw= | ||||||
|  | github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= | ||||||
|  | github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= | ||||||
|  | github.com/miekg/dns v1.1.55 h1:GoQ4hpsj0nFLYe+bWiCToyrBEJXkQfOOIvFGFy0lEgo= | ||||||
|  | github.com/miekg/dns v1.1.55/go.mod h1:uInx36IzPl7FYnDcMeVWxj9byh7DutNykX4G9Sj60FY= | ||||||
|  | github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 h1:zYyBkD/k9seD2A7fsi6Oo2LfFZAehjjQMERAvZLEDnQ= | ||||||
|  | github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646/go.mod h1:jpp1/29i3P1S/RLdc7JQKbRpFeM1dOBd8T9ki5s+AY8= | ||||||
|  | github.com/nicksnyder/go-i18n/v2 v2.5.1 h1:IxtPxYsR9Gp60cGXjfuR/llTqV8aYMsC472zD0D1vHk= | ||||||
|  | github.com/nicksnyder/go-i18n/v2 v2.5.1/go.mod h1:DrhgsSDZxoAfvVrBVLXoxZn/pN5TXqaDbq7ju94viiQ= | ||||||
|  | github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= | ||||||
|  | github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= | ||||||
|  | github.com/pkg/profile v1.7.0 h1:hnbDkaNWPCLMO9wGLdBFTIZvzDrDfBM2072E1S9gJkA= | ||||||
|  | github.com/pkg/profile v1.7.0/go.mod h1:8Uer0jas47ZQMJ7VD+OHknK4YDY07LPUC6dEvqDjvNo= | ||||||
|  | github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= | ||||||
|  | github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= | ||||||
|  | github.com/rymdport/portal v0.4.1 h1:2dnZhjf5uEaeDjeF/yBIeeRo6pNI2QAKm7kq1w/kbnA= | ||||||
|  | github.com/rymdport/portal v0.4.1/go.mod h1:kFF4jslnJ8pD5uCi17brj/ODlfIidOxlgUDTO5ncnC4= | ||||||
|  | github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c h1:km8GpoQut05eY3GiYWEedbTT0qnSxrCjsVbb7yKY1KE= | ||||||
|  | github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c/go.mod h1:cNQ3dwVJtS5Hmnjxy6AgTPd0Inb3pW05ftPSX7NZO7Q= | ||||||
|  | github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef h1:Ch6Q+AZUxDBCVqdkI8FSpFyZDtCVBc2VmejdNrm5rRQ= | ||||||
|  | github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef/go.mod h1:nXTWP6+gD5+LUJ8krVhhoeHjvHTutPxMYl5SvkcnJNE= | ||||||
|  | github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= | ||||||
|  | github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= | ||||||
|  | github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= | ||||||
|  | github.com/yuin/goldmark v1.7.8 h1:iERMLn0/QJeHFhxSt3p6PeN9mGnvIKSpG9YYorDMnic= | ||||||
|  | github.com/yuin/goldmark v1.7.8/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E= | ||||||
|  | golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= | ||||||
|  | golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= | ||||||
|  | golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= | ||||||
|  | golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= | ||||||
|  | golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= | ||||||
|  | golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc= | ||||||
|  | golang.org/x/image v0.24.0 h1:AN7zRgVsbvmTfNyqIbbOraYL8mSwcKncEj8ofjgzcMQ= | ||||||
|  | golang.org/x/image v0.24.0/go.mod h1:4b/ITuLfqYq1hqZcjofwctIhi7sZh2WaCjvsBNjjya8= | ||||||
|  | golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= | ||||||
|  | golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= | ||||||
|  | golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= | ||||||
|  | golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= | ||||||
|  | golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= | ||||||
|  | golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= | ||||||
|  | golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= | ||||||
|  | golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= | ||||||
|  | golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= | ||||||
|  | golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= | ||||||
|  | golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= | ||||||
|  | golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= | ||||||
|  | golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= | ||||||
|  | golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= | ||||||
|  | golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= | ||||||
|  | golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= | ||||||
|  | golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= | ||||||
|  | golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k= | ||||||
|  | golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8= | ||||||
|  | golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk= | ||||||
|  | golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||||
|  | golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||||
|  | golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||||
|  | golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= | ||||||
|  | golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= | ||||||
|  | golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= | ||||||
|  | golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= | ||||||
|  | golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= | ||||||
|  | golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= | ||||||
|  | golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= | ||||||
|  | golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | ||||||
|  | golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||||
|  | golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||||
|  | golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||||
|  | golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||||
|  | golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||||
|  | golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||||
|  | golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||||
|  | golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | ||||||
|  | golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | ||||||
|  | golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | ||||||
|  | golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= | ||||||
|  | golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | ||||||
|  | golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= | ||||||
|  | golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= | ||||||
|  | golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= | ||||||
|  | golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= | ||||||
|  | golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= | ||||||
|  | golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= | ||||||
|  | golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= | ||||||
|  | golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= | ||||||
|  | golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= | ||||||
|  | golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek= | ||||||
|  | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= | ||||||
|  | golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= | ||||||
|  | golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= | ||||||
|  | golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= | ||||||
|  | golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= | ||||||
|  | golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= | ||||||
|  | golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= | ||||||
|  | golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= | ||||||
|  | golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= | ||||||
|  | golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= | ||||||
|  | golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= | ||||||
|  | golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= | ||||||
|  | golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= | ||||||
|  | golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= | ||||||
|  | golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= | ||||||
|  | golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= | ||||||
|  | golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= | ||||||
|  | golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= | ||||||
|  | golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= | ||||||
|  | golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg= | ||||||
|  | golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI= | ||||||
|  | golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= | ||||||
|  | gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||||||
|  | gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= | ||||||
|  | gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||||||
|  | gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= | ||||||
|  | gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue