Kevin Franklin Kim 13175b3660
Some checks failed
Test Branch / test (push) Has been cancelled
chore: use git sha
2026-05-29 11:58:23 +02:00
2026-05-29 11:58:23 +02:00
2026-04-13 13:14:46 +02:00
2025-11-07 14:15:03 +01:00
2026-03-03 16:12:56 +01:00
2026-05-12 22:48:02 +02:00
2023-09-08 12:17:23 +02:00
2026-04-16 22:19:03 +02:00
2026-04-17 10:00:52 +02:00
2025-10-02 13:52:18 +02:00
2025-10-02 13:52:18 +02:00
2026-05-12 23:08:38 +02:00
2025-12-15 16:38:43 +01:00
2021-11-19 14:16:09 +01:00
2026-04-22 00:04:52 +02:00
2026-02-17 13:47:18 +01:00
2026-05-12 22:43:30 +02:00
2026-03-16 16:48:45 +01:00
2026-02-24 13:59:01 +01:00
2026-05-29 11:58:23 +02:00
2026-03-03 15:41:43 +01:00
2023-09-08 22:24:31 +02:00
2024-03-15 11:01:25 +01:00
2026-05-12 22:48:02 +02:00
2026-05-12 22:48:02 +02:00
2023-09-08 22:24:31 +02:00
2021-05-18 08:34:47 +02:00
2024-11-22 09:15:21 +01:00
2026-05-12 23:08:38 +02:00
2025-10-07 09:10:40 +02:00
2026-05-29 11:58:23 +02:00
2021-11-16 15:31:09 +01:00
2026-04-16 22:19:03 +02:00

Go Report Card GoDoc Coverage GitHub Stars

keel

keel

Opinionated way to run services on Kubernetes

Stack

  • Zap
  • Nats
  • Viper
  • GoTSRPC
  • Temporal
  • OpenTelemetry

Examples

See the examples folder for usages

package main

import (
  "net/http"

  "github.com/foomo/keel"
  "github.com/foomo/keel/service"
)

func main() {
  svr := keel.NewServer(
    keel.WithHTTPZapService(true),
    keel.WithHTTPViperService(true),
    keel.WithHTTPPrometheusService(true),
  )

  l := svr.Logger()

  svs := newService()

  svr.AddService(
    service.NewHTTP(l, "demo", "localhost:8080", svs),
  )

  svr.Run()
}

func newService() *http.ServeMux {
  s := http.NewServeMux()
  s.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(http.StatusOK)
    _, _ = w.Write([]byte("OK"))
  })
  return s
}

How to Contribute

Contributions are welcome! Please read the contributing guide.

Contributors

License

Distributed under MIT License, please read the license file for more details.

Made with ♥ foomo by bestbytes

Description
No description provided
Readme MIT 5.4 MiB
Languages
Go 98.9%
Makefile 1.1%