Kevin Franklin Kim 0f215d4a2f
Some checks failed
Test Branch / test (push) Has been cancelled
Merge pull request #295 from foomo/feature/revert-deprecations
revert: deprecations
2026-06-23 23:37:33 +02:00
2026-06-17 15:04:11 +02:00
2025-11-07 14:15:03 +01:00
2026-03-03 16:12:56 +01:00
2026-06-23 20:35:29 +02:00
2023-09-08 12:17:23 +02:00
2026-06-23 20:35:29 +02:00
2026-04-16 22:19:03 +02:00
2026-04-17 10:00:52 +02:00
2026-06-19 14:01:05 +02:00
2025-10-02 13:52:18 +02:00
2025-10-02 13:52:18 +02:00
2026-06-23 20:35:29 +02:00
2026-06-23 20:35:29 +02:00
2026-06-22 10:42:36 +02:00
2026-06-22 11:57:29 +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-06-17 15:04:11 +02:00
2026-03-16 16:48:45 +01:00
2026-02-24 13:59:01 +01:00
2026-06-23 06:57:20 +02:00
2026-03-03 15:41:43 +01:00
2026-06-17 14:51:52 +02:00
2024-03-15 11:01:25 +01:00
2026-06-17 14:51:52 +02:00
2026-06-23 20:35:29 +02:00
2026-06-23 20:35:29 +02:00
2023-09-08 22:24:31 +02:00
2026-06-17 14:51:52 +02:00
2026-06-22 11:57:29 +02:00
2026-06-23 23:30:08 +02:00
2021-05-18 08:34:47 +02:00
2024-11-22 09:15:21 +01:00
2026-06-23 20:35:29 +02:00
2026-06-23 15:55:31 +02:00
2026-05-29 11:58:23 +02:00
2026-06-19 09:02:45 +02:00
2026-06-22 11:57:29 +02:00
2026-05-29 16:02:02 +02:00
2026-06-19 08:50:40 +02:00
2026-06-19 08:50:40 +02:00
2026-06-19 08:50:40 +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 6.2 MiB
Languages
Go 99%
Makefile 1%