Update domain
This commit is contained in:
parent
e0023907a0
commit
9998915959
@ -4,8 +4,8 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
"go.arsenm.dev/drpc/muxconn"
|
"go.elara.ws/drpc/muxconn"
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
"storj.io/drpc"
|
"storj.io/drpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DFUProgress struct {
|
type DFUProgress struct {
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FSClient struct {
|
type FSClient struct {
|
||||||
|
@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) HeartRate(ctx context.Context) (uint8, error) {
|
func (c *Client) HeartRate(ctx context.Context) (uint8, error) {
|
||||||
|
@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) Notify(ctx context.Context, title, body string) error {
|
func (c *Client) Notify(ctx context.Context, title, body string) error {
|
||||||
|
@ -3,8 +3,8 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ResourceOperation uint8
|
type ResourceOperation uint8
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) SetTime(ctx context.Context, t time.Time) error {
|
func (c *Client) SetTime(ctx context.Context, t time.Time) error {
|
||||||
|
@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) WeatherUpdate(ctx context.Context) error {
|
func (c *Client) WeatherUpdate(ctx context.Context) error {
|
||||||
|
@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) WatchHeartRate(ctx context.Context) (<-chan uint8, error) {
|
func (c *Client) WatchHeartRate(ctx context.Context) (<-chan uint8, error) {
|
||||||
|
6
calls.go
6
calls.go
@ -5,9 +5,9 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/godbus/dbus/v5"
|
"github.com/godbus/dbus/v5"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/itd/internal/utils"
|
"go.elara.ws/itd/internal/utils"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
func initCallNotifs(ctx context.Context, wg WaitGroup, dev *infinitime.Device) error {
|
func initCallNotifs(ctx context.Context, wg WaitGroup, dev *infinitime.Device) error {
|
||||||
|
@ -7,8 +7,8 @@ import (
|
|||||||
|
|
||||||
"github.com/cheggaaa/pb/v3"
|
"github.com/cheggaaa/pb/v3"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
func fwUpgrade(c *cli.Context) error {
|
func fwUpgrade(c *cli.Context) error {
|
||||||
|
@ -8,9 +8,9 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
"go.arsenm.dev/logger"
|
"go.elara.ws/logger"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
var client *api.Client
|
var client *api.Client
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
|
|
||||||
"github.com/cheggaaa/pb/v3"
|
"github.com/cheggaaa/pb/v3"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
)
|
)
|
||||||
|
|
||||||
func resourcesLoad(c *cli.Context) error {
|
func resourcesLoad(c *cli.Context) error {
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"fyne.io/fyne/v2/layout"
|
"fyne.io/fyne/v2/layout"
|
||||||
"fyne.io/fyne/v2/storage"
|
"fyne.io/fyne/v2/storage"
|
||||||
"fyne.io/fyne/v2/widget"
|
"fyne.io/fyne/v2/widget"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func firmwareTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
func firmwareTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
||||||
|
@ -11,8 +11,8 @@ import (
|
|||||||
"fyne.io/fyne/v2/storage"
|
"fyne.io/fyne/v2/storage"
|
||||||
"fyne.io/fyne/v2/theme"
|
"fyne.io/fyne/v2/theme"
|
||||||
"fyne.io/fyne/v2/widget"
|
"fyne.io/fyne/v2/widget"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func fsTab(ctx context.Context, client *api.Client, w fyne.Window, opened chan struct{}) fyne.CanvasObject {
|
func fsTab(ctx context.Context, client *api.Client, w fyne.Window, opened chan struct{}) fyne.CanvasObject {
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
"fyne.io/fyne/v2/container"
|
"fyne.io/fyne/v2/container"
|
||||||
"fyne.io/fyne/v2/theme"
|
"fyne.io/fyne/v2/theme"
|
||||||
"fyne.io/x/fyne/widget/charts"
|
"fyne.io/x/fyne/widget/charts"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
_ "modernc.org/sqlite"
|
_ "modernc.org/sqlite"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
|
|
||||||
"fyne.io/fyne/v2"
|
"fyne.io/fyne/v2"
|
||||||
"fyne.io/fyne/v2/container"
|
"fyne.io/fyne/v2/container"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func infoTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
func infoTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
|
|
||||||
"fyne.io/fyne/v2/app"
|
"fyne.io/fyne/v2/app"
|
||||||
"fyne.io/fyne/v2/container"
|
"fyne.io/fyne/v2/container"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"fyne.io/fyne/v2"
|
"fyne.io/fyne/v2"
|
||||||
"fyne.io/fyne/v2/container"
|
"fyne.io/fyne/v2/container"
|
||||||
"fyne.io/fyne/v2/widget"
|
"fyne.io/fyne/v2/widget"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func motionTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
func motionTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"fyne.io/fyne/v2/container"
|
"fyne.io/fyne/v2/container"
|
||||||
"fyne.io/fyne/v2/layout"
|
"fyne.io/fyne/v2/layout"
|
||||||
"fyne.io/fyne/v2/widget"
|
"fyne.io/fyne/v2/widget"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func notifyTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
func notifyTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
"fyne.io/fyne/v2/container"
|
"fyne.io/fyne/v2/container"
|
||||||
"fyne.io/fyne/v2/layout"
|
"fyne.io/fyne/v2/layout"
|
||||||
"fyne.io/fyne/v2/widget"
|
"fyne.io/fyne/v2/widget"
|
||||||
"go.arsenm.dev/itd/api"
|
"go.elara.ws/itd/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func timeTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
func timeTab(ctx context.Context, client *api.Client, w fyne.Window) fyne.CanvasObject {
|
||||||
|
@ -9,8 +9,8 @@ import (
|
|||||||
"github.com/knadh/koanf/providers/confmap"
|
"github.com/knadh/koanf/providers/confmap"
|
||||||
"github.com/knadh/koanf/providers/env"
|
"github.com/knadh/koanf/providers/env"
|
||||||
"github.com/knadh/koanf/providers/file"
|
"github.com/knadh/koanf/providers/file"
|
||||||
"go.arsenm.dev/logger"
|
"go.elara.ws/logger"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
var cfgDir string
|
var cfgDir string
|
||||||
|
6
fuse.go
6
fuse.go
@ -6,9 +6,9 @@ import (
|
|||||||
|
|
||||||
"github.com/hanwen/go-fuse/v2/fs"
|
"github.com/hanwen/go-fuse/v2/fs"
|
||||||
"github.com/hanwen/go-fuse/v2/fuse"
|
"github.com/hanwen/go-fuse/v2/fuse"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/itd/internal/fusefs"
|
"go.elara.ws/itd/internal/fusefs"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
func startFUSE(ctx context.Context, wg WaitGroup, dev *infinitime.Device) error {
|
func startFUSE(ctx context.Context, wg WaitGroup, dev *infinitime.Device) error {
|
||||||
|
6
go.mod
6
go.mod
@ -15,9 +15,9 @@ require (
|
|||||||
github.com/mattn/go-isatty v0.0.17
|
github.com/mattn/go-isatty v0.0.17
|
||||||
github.com/mozillazg/go-pinyin v0.19.0
|
github.com/mozillazg/go-pinyin v0.19.0
|
||||||
github.com/urfave/cli/v2 v2.23.7
|
github.com/urfave/cli/v2 v2.23.7
|
||||||
go.arsenm.dev/drpc v0.0.0-20230328202554-c1f2aa71e794
|
go.elara.ws/drpc v0.0.0-20230421021209-fe4c05460a3d
|
||||||
go.arsenm.dev/infinitime v0.0.0-20230104230015-512d48bc2469
|
go.elara.ws/infinitime v0.0.0-20230421025334-f2640203e9e9
|
||||||
go.arsenm.dev/logger v0.0.0-20230104225304-d706171ea6df
|
go.elara.ws/logger v0.0.0-20230421022458-e80700db2090
|
||||||
golang.org/x/text v0.5.0
|
golang.org/x/text v0.5.0
|
||||||
google.golang.org/protobuf v1.28.1
|
google.golang.org/protobuf v1.28.1
|
||||||
modernc.org/sqlite v1.20.1
|
modernc.org/sqlite v1.20.1
|
||||||
|
11
go.sum
11
go.sum
@ -529,12 +529,13 @@ github.com/yuin/goldmark v1.5.3/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5ta
|
|||||||
github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ=
|
github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ=
|
||||||
github.com/zeebo/errs v1.3.0 h1:hmiaKqgYZzcVgRL1Vkc1Mn2914BbzB0IBxs+ebeutGs=
|
github.com/zeebo/errs v1.3.0 h1:hmiaKqgYZzcVgRL1Vkc1Mn2914BbzB0IBxs+ebeutGs=
|
||||||
github.com/zeebo/errs v1.3.0/go.mod h1:sgbWHsvVuTPHcqJJGQ1WhI5KbWlHYz+2+2C/LSEtCw4=
|
github.com/zeebo/errs v1.3.0/go.mod h1:sgbWHsvVuTPHcqJJGQ1WhI5KbWlHYz+2+2C/LSEtCw4=
|
||||||
go.arsenm.dev/drpc v0.0.0-20230328202554-c1f2aa71e794 h1:8KQpRoQmCTgDvyHFStaIiz5NUNNqMHqVlZoGvIk+OwQ=
|
|
||||||
go.arsenm.dev/drpc v0.0.0-20230328202554-c1f2aa71e794/go.mod h1:K5cFls42m5q1RIphTVojRdXLaoCknq/kBqQt8Ow3XuA=
|
|
||||||
go.arsenm.dev/infinitime v0.0.0-20230104230015-512d48bc2469 h1:LsJHg+8rQSYnTE1sSCjBCACxUUVMZIOQani8J6wF2/E=
|
|
||||||
go.arsenm.dev/infinitime v0.0.0-20230104230015-512d48bc2469/go.mod h1:scUyDmLmCHn6CanGbau8yjTjzyhUbLJcsjmDCCKMIII=
|
|
||||||
go.arsenm.dev/logger v0.0.0-20230104225304-d706171ea6df h1:8mBHvEe7BJmpOeKSMA5YLqrGo9dCpePocTeR0C1+/2w=
|
|
||||||
go.arsenm.dev/logger v0.0.0-20230104225304-d706171ea6df/go.mod h1:RV2qydKDdoyaRkhAq8JEGvojR8eJ6bjq5WnSIlH7gYw=
|
go.arsenm.dev/logger v0.0.0-20230104225304-d706171ea6df/go.mod h1:RV2qydKDdoyaRkhAq8JEGvojR8eJ6bjq5WnSIlH7gYw=
|
||||||
|
go.elara.ws/drpc v0.0.0-20230421021209-fe4c05460a3d h1:ANb8YPtcxPipwKgmnW688e5PGpNaLh+22nO2LBpIPOU=
|
||||||
|
go.elara.ws/drpc v0.0.0-20230421021209-fe4c05460a3d/go.mod h1:NDprjiVqKXQKVGzX7jp2g/jctsUbvOxz1nN15QOBEGk=
|
||||||
|
go.elara.ws/infinitime v0.0.0-20230421025334-f2640203e9e9 h1:HczkQCAHHmOHHdzTxFC1tEGzBJ7F/fuOWNUGrYQhMOg=
|
||||||
|
go.elara.ws/infinitime v0.0.0-20230421025334-f2640203e9e9/go.mod h1:fu3+jGNBBtRQ1lcywtdZzoQgDFtqvvxBHvLw+XgPrFg=
|
||||||
|
go.elara.ws/logger v0.0.0-20230421022458-e80700db2090 h1:RVC8XvWo6Yw4HUshqx4TSzuBDScDghafU6QFRJ4xPZg=
|
||||||
|
go.elara.ws/logger v0.0.0-20230421022458-e80700db2090/go.mod h1:qng49owViqsW5Aey93lwBXONw20oGbJIoLVscB16mPM=
|
||||||
go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
|
go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
|
||||||
go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A=
|
go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A=
|
||||||
go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
|
go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
|
||||||
|
@ -9,9 +9,9 @@ import (
|
|||||||
|
|
||||||
"github.com/hanwen/go-fuse/v2/fs"
|
"github.com/hanwen/go-fuse/v2/fs"
|
||||||
"github.com/hanwen/go-fuse/v2/fuse"
|
"github.com/hanwen/go-fuse/v2/fuse"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/infinitime/blefs"
|
"go.elara.ws/infinitime/blefs"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ITProperty struct {
|
type ITProperty struct {
|
||||||
|
@ -3,7 +3,7 @@ package fusefs
|
|||||||
import (
|
import (
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"go.arsenm.dev/infinitime/blefs"
|
"go.elara.ws/infinitime/blefs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func syscallErr(err error) syscall.Errno {
|
func syscallErr(err error) syscall.Errno {
|
||||||
|
6
main.go
6
main.go
@ -34,9 +34,9 @@ import (
|
|||||||
"github.com/gen2brain/dlgs"
|
"github.com/gen2brain/dlgs"
|
||||||
"github.com/knadh/koanf"
|
"github.com/knadh/koanf"
|
||||||
"github.com/mattn/go-isatty"
|
"github.com/mattn/go-isatty"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/logger"
|
"go.elara.ws/logger"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
var k = koanf.New(".")
|
var k = koanf.New(".")
|
||||||
|
6
maps.go
6
maps.go
@ -5,9 +5,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/godbus/dbus/v5"
|
"github.com/godbus/dbus/v5"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/itd/internal/utils"
|
"go.elara.ws/itd/internal/utils"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -7,8 +7,8 @@ import (
|
|||||||
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
_ "modernc.org/sqlite"
|
_ "modernc.org/sqlite"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/godbus/dbus/v5"
|
"github.com/godbus/dbus/v5"
|
||||||
"go.arsenm.dev/itd/internal/utils"
|
"go.elara.ws/itd/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
8
music.go
8
music.go
@ -22,10 +22,10 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
|
|
||||||
|
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/itd/mpris"
|
"go.elara.ws/itd/mpris"
|
||||||
"go.arsenm.dev/itd/translit"
|
"go.elara.ws/itd/translit"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
func initMusicCtrl(ctx context.Context, wg WaitGroup, dev *infinitime.Device) error {
|
func initMusicCtrl(ctx context.Context, wg WaitGroup, dev *infinitime.Device) error {
|
||||||
|
@ -23,10 +23,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/godbus/dbus/v5"
|
"github.com/godbus/dbus/v5"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/itd/internal/utils"
|
"go.elara.ws/itd/internal/utils"
|
||||||
"go.arsenm.dev/itd/translit"
|
"go.elara.ws/itd/translit"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
func initNotifRelay(ctx context.Context, wg WaitGroup, dev *infinitime.Device) error {
|
func initNotifRelay(ctx context.Context, wg WaitGroup, dev *infinitime.Device) error {
|
||||||
|
10
socket.go
10
socket.go
@ -28,11 +28,11 @@ import (
|
|||||||
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"go.arsenm.dev/drpc/muxserver"
|
"go.elara.ws/drpc/muxserver"
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/infinitime/blefs"
|
"go.elara.ws/infinitime/blefs"
|
||||||
"go.arsenm.dev/itd/internal/rpc"
|
"go.elara.ws/itd/internal/rpc"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
"storj.io/drpc/drpcmux"
|
"storj.io/drpc/drpcmux"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package main
|
|||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type WaitGroup struct {
|
type WaitGroup struct {
|
||||||
|
@ -12,9 +12,9 @@ import (
|
|||||||
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"go.arsenm.dev/infinitime"
|
"go.elara.ws/infinitime"
|
||||||
"go.arsenm.dev/infinitime/weather"
|
"go.elara.ws/infinitime/weather"
|
||||||
"go.arsenm.dev/logger/log"
|
"go.elara.ws/logger/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
// METResponse represents a response from
|
// METResponse represents a response from
|
||||||
|
Loading…
Reference in New Issue
Block a user