tangled
alpha
login
or
join now
whey.party
/
red-dwarf-server
13
fork
atom
collection of golang services under the Red Dwarf umbrella
server.reddwarf.app
bluesky
reddwarf
microcosm
appview
13
fork
atom
overview
issues
pulls
pipelines
rename project
whey.party
3 months ago
c0eb9417
ded35b12
+8
-8
5 changed files
expand all
collapse all
unified
split
go.mod
main.go
microcosm
constellation
constellation.go
microcosm.go
slingshot
slingshot.go
+1
-1
go.mod
···
1
1
-
module tangled.org/whey.party/rdcs
1
1
+
module tangled.org/whey.party/red-dwarf-server
2
2
3
3
go 1.25.4
4
4
+4
-4
main.go
···
8
8
"os"
9
9
"time"
10
10
11
11
-
"tangled.org/whey.party/rdcs/microcosm/constellation"
12
12
-
"tangled.org/whey.party/rdcs/microcosm/slingshot"
13
13
-
"tangled.org/whey.party/rdcs/sticket"
11
11
+
"tangled.org/whey.party/red-dwarf-server/microcosm/constellation"
12
12
+
"tangled.org/whey.party/red-dwarf-server/microcosm/slingshot"
13
13
+
"tangled.org/whey.party/red-dwarf-server/sticket"
14
14
15
15
// "github.com/bluesky-social/indigo/atproto/atclient"
16
16
// comatproto "github.com/bluesky-social/indigo/api/atproto"
···
30
30
)
31
31
32
32
func main() {
33
33
-
fmt.Fprintf(os.Stdout, "RDCS started")
33
33
+
fmt.Fprintf(os.Stdout, "red-dwarf-server started")
34
34
35
35
ctx := context.Background()
36
36
mailbox := sticket.New()
+1
-1
microcosm/constellation/constellation.go
···
4
4
"context"
5
5
6
6
"github.com/bluesky-social/indigo/lex/util"
7
7
-
"tangled.org/whey.party/rdcs/microcosm"
7
7
+
"tangled.org/whey.party/red-dwarf-server/microcosm"
8
8
)
9
9
10
10
func NewConstellation(host string) *microcosm.MicrocosmClient {
+1
-1
microcosm/microcosm.go
···
31
31
Client: http.DefaultClient,
32
32
Host: host,
33
33
Headers: map[string][]string{
34
34
-
"User-Agent": []string{"microcosm-rdcs"},
34
34
+
"User-Agent": []string{"microcosm-red-dwarf-server"},
35
35
},
36
36
}
37
37
}
+1
-1
microcosm/slingshot/slingshot.go
···
5
5
6
6
"github.com/bluesky-social/indigo/api/agnostic"
7
7
"github.com/bluesky-social/indigo/lex/util"
8
8
-
"tangled.org/whey.party/rdcs/microcosm"
8
8
+
"tangled.org/whey.party/red-dwarf-server/microcosm"
9
9
)
10
10
11
11
func NewSlingshot(host string) *microcosm.MicrocosmClient {