From 70e85fdb545a8c653690d5bf12c56ba9bccfd3bb Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 12 Jan 2025 16:34:49 -0500 Subject: cmd/mi: add glance plugin Signed-off-by: Xe Iaso --- cmd/mi/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/mi/main.go') diff --git a/cmd/mi/main.go b/cmd/mi/main.go index b9f72a7..fa3527c 100644 --- a/cmd/mi/main.go +++ b/cmd/mi/main.go @@ -15,6 +15,7 @@ import ( "google.golang.org/grpc" "within.website/x/cmd/mi/models" "within.website/x/cmd/mi/services/events" + "within.website/x/cmd/mi/services/glance" "within.website/x/cmd/mi/services/homefrontshim" "within.website/x/cmd/mi/services/importer" "within.website/x/cmd/mi/services/posse" @@ -112,6 +113,7 @@ func main() { mux.Handle(pb.EventsPathPrefix, pb.NewEventsServer(es)) mux.Handle("/front", homefrontshim.New(dao)) mux.Handle("/twitch", te) + mux.Handle("/glance", glance.New(dao)) i := importer.New(dao) i.Mount(http.DefaultServeMux) -- cgit v1.2.3