aboutsummaryrefslogtreecommitdiff
path: root/cmd/mi/main.go
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-01-12 16:34:49 -0500
committerXe Iaso <me@xeiaso.net>2025-01-12 16:35:37 -0500
commit70e85fdb545a8c653690d5bf12c56ba9bccfd3bb (patch)
treec30f217d840255159ca7035f653e3c546d610228 /cmd/mi/main.go
parent6064ecc2481f95570a0b5225ab7826e3f9cec546 (diff)
downloadx-70e85fdb545a8c653690d5bf12c56ba9bccfd3bb.tar.xz
x-70e85fdb545a8c653690d5bf12c56ba9bccfd3bb.zip
cmd/mi: add glance plugin
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/mi/main.go')
-rw-r--r--cmd/mi/main.go2
1 files changed, 2 insertions, 0 deletions
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)