fork of indigo with slightly nicer lexgen

bgs: remove unused (and confusing) stub lists

Changed files
-15
bgs
-15
bgs/stubs.go
··· 17 17 Message string `json:"message"` 18 18 } 19 19 20 - func (s *BGS) RegisterHandlersAppBsky(e *echo.Echo) error { 21 - return nil 22 - } 23 - 24 - func (s *BGS) RegisterHandlersComAtproto(e *echo.Echo) error { 25 - e.GET("/xrpc/com.atproto.sync.getBlocks", s.HandleComAtprotoSyncGetBlocks) 26 - e.GET("/xrpc/com.atproto.sync.getLatestCommit", s.HandleComAtprotoSyncGetLatestCommit) 27 - e.GET("/xrpc/com.atproto.sync.getRecord", s.HandleComAtprotoSyncGetRecord) 28 - e.GET("/xrpc/com.atproto.sync.getRepo", s.HandleComAtprotoSyncGetRepo) 29 - e.GET("/xrpc/com.atproto.sync.listRepos", s.HandleComAtprotoSyncListRepos) 30 - e.POST("/xrpc/com.atproto.sync.notifyOfUpdate", s.HandleComAtprotoSyncNotifyOfUpdate) 31 - e.POST("/xrpc/com.atproto.sync.requestCrawl", s.HandleComAtprotoSyncRequestCrawl) 32 - return nil 33 - } 34 - 35 20 func (s *BGS) HandleComAtprotoSyncGetBlocks(c echo.Context) error { 36 21 ctx, span := otel.Tracer("server").Start(c.Request().Context(), "HandleComAtprotoSyncGetBlocks") 37 22 defer span.End()