backend for xcvr appview
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

initial cross repository import

+43
server/cmd/.DS_Store

This is a binary file and will not be displayed.

+22
server/cmd/main.go
··· 1 + package main 2 + 3 + import ( 4 + "fmt" 5 + "os" 6 + "sync" 7 + 8 + "github.com/rachel-mp4/lrc/lrcd/pkg/lrcd" 9 + ) 10 + 11 + func main() { 12 + fmt.Println("hello world") 13 + server, err := lrcd.NewServer(lrcd.WithWSPort(8080), lrcd.WithLogging(os.Stdout, true)) 14 + err = server.Start() 15 + if err != nil { 16 + fmt.Printf(err.Error()) 17 + } 18 + var wg sync.WaitGroup 19 + wg.Add(1) 20 + wg.Wait() 21 + return 22 + }
+11
server/go.mod
··· 1 + module xcvr-backend 2 + 3 + go 1.22.1 4 + 5 + require github.com/rachel-mp4/lrc/lrcd v0.0.0-20250407195722-5a8956062fbc 6 + 7 + require ( 8 + github.com/gorilla/websocket v1.5.3 // indirect 9 + github.com/rachel-mp4/lrc v0.0.0-20250407195722-5a8956062fbc // indirect 10 + github.com/rachel-mp4/lrc/lrc v0.0.0-20250407195722-5a8956062fbc // indirect 11 + )
+10
server/go.sum
··· 1 + github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= 2 + github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= 3 + github.com/rachel-mp4/lrc v0.0.0-20250407195722-5a8956062fbc h1:aRLZqkE/ufO7aYiWf6V5t/w89E4RwnnhUtqVe1sekhA= 4 + github.com/rachel-mp4/lrc v0.0.0-20250407195722-5a8956062fbc/go.mod h1:AFAKOwRsDDo643wKe5OBGx96yPWvZQjrGLJZ0lJex+A= 5 + github.com/rachel-mp4/lrc/lrc v0.0.0-20250407195722-5a8956062fbc h1:0ZtrSZtrWY+yaASyUh3NYy1mRjj+AgeId8+1SQh2lZQ= 6 + github.com/rachel-mp4/lrc/lrc v0.0.0-20250407195722-5a8956062fbc/go.mod h1:8gurhwhM0qJhpRw4jWNPiTureKGbtql33khlbS17ULc= 7 + github.com/rachel-mp4/lrc/lrcd v0.0.0-20250407171837-02f3816ed7ef h1:IMj8nB5q+dnCfqcmwRohXOyJf9HboQ5v2r+eNCcUWB4= 8 + github.com/rachel-mp4/lrc/lrcd v0.0.0-20250407171837-02f3816ed7ef/go.mod h1:V/dWrPAee/3ULiIjm6psRNfep1dKt+AZBGs6/2NvSC4= 9 + github.com/rachel-mp4/lrc/lrcd v0.0.0-20250407195722-5a8956062fbc h1:UM31U8CDYbtThXUTkBK7lNO3m7USqDfvFthT1pZ13FE= 10 + github.com/rachel-mp4/lrc/lrcd v0.0.0-20250407195722-5a8956062fbc/go.mod h1:V/dWrPAee/3ULiIjm6psRNfep1dKt+AZBGs6/2NvSC4=