this repo has no description
0
fork

Configure Feed

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

consistent import grouping and aliases

+12 -11
+2 -2
cmd/relay/events/cbor_gen.go
··· 8 8 "math" 9 9 "sort" 10 10 11 - cid "github.com/ipfs/go-cid" 11 + "github.com/ipfs/go-cid" 12 12 cbg "github.com/whyrusleeping/cbor-gen" 13 - xerrors "golang.org/x/xerrors" 13 + "golang.org/x/xerrors" 14 14 ) 15 15 16 16 var _ = xerrors.Errorf
+2 -2
cmd/relay/events/consumer.go
··· 8 8 "net" 9 9 "time" 10 10 11 - "github.com/RussellLuo/slidingwindow" 12 11 comatproto "github.com/bluesky-social/indigo/api/atproto" 13 - "github.com/prometheus/client_golang/prometheus" 14 12 13 + "github.com/RussellLuo/slidingwindow" 15 14 "github.com/gorilla/websocket" 15 + "github.com/prometheus/client_golang/prometheus" 16 16 ) 17 17 18 18 type RepoStreamCallbacks struct {
+1 -1
cmd/relay/events/events.go
··· 13 13 comatproto "github.com/bluesky-social/indigo/api/atproto" 14 14 "github.com/bluesky-social/indigo/cmd/relay/models" 15 15 lexutil "github.com/bluesky-social/indigo/lex/util" 16 - "github.com/prometheus/client_golang/prometheus" 17 16 17 + "github.com/prometheus/client_golang/prometheus" 18 18 cbg "github.com/whyrusleeping/cbor-gen" 19 19 "go.opentelemetry.io/otel" 20 20 )
+6 -6
cmd/relay/main.go
··· 5 5 "crypto/rand" 6 6 "encoding/base64" 7 7 "fmt" 8 - "github.com/bluesky-social/indigo/atproto/identity" 9 - "github.com/bluesky-social/indigo/cmd/relay/events/diskpersist" 10 8 "io" 11 9 "log/slog" 12 - _ "net/http/pprof" 13 10 "net/url" 14 11 "os" 15 12 "os/signal" ··· 18 15 "syscall" 19 16 "time" 20 17 18 + _ "github.com/joho/godotenv/autoload" 19 + _ "go.uber.org/automaxprocs" 20 + _ "net/http/pprof" 21 + 22 + "github.com/bluesky-social/indigo/atproto/identity" 21 23 libbgs "github.com/bluesky-social/indigo/cmd/relay/bgs" 22 24 "github.com/bluesky-social/indigo/cmd/relay/events" 25 + "github.com/bluesky-social/indigo/cmd/relay/events/diskpersist" 23 26 "github.com/bluesky-social/indigo/util" 24 27 "github.com/bluesky-social/indigo/util/cliutil" 25 28 "github.com/bluesky-social/indigo/xrpc" 26 - 27 - _ "github.com/joho/godotenv/autoload" 28 - _ "go.uber.org/automaxprocs" 29 29 30 30 "github.com/carlmjohnson/versioninfo" 31 31 "github.com/urfave/cli/v2"
+1
cmd/relay/models/models.go
··· 4 4 "database/sql/driver" 5 5 "encoding/json" 6 6 "fmt" 7 + 7 8 "github.com/ipfs/go-cid" 8 9 "gorm.io/gorm" 9 10 )