diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-01-12 16:34:49 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-01-12 16:35:37 -0500 |
| commit | 70e85fdb545a8c653690d5bf12c56ba9bccfd3bb (patch) | |
| tree | c30f217d840255159ca7035f653e3c546d610228 /cmd/mi/main.go | |
| parent | 6064ecc2481f95570a0b5225ab7826e3f9cec546 (diff) | |
| download | x-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.go | 2 |
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) |
