Go to file
dependabot[bot] fbeb2eb41b
chore(deps): bump the github-actions group across 1 directory with 2 updates
Bumps the github-actions group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-go](https://github.com/actions/setup-go).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

Updates `actions/setup-go` from 5 to 6
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 22:02:04 +00:00
.github chore(deps): bump the github-actions group across 1 directory with 2 updates 2025-09-08 22:02:04 +00:00
.husky feat: update deps and setup 2023-08-11 09:55:34 +02:00
config feat: update & fix lints 2024-04-16 09:38:28 +02:00
env fix: use sync map 2025-05-26 21:55:06 +02:00
errors feat: update & fix lints 2024-04-16 09:38:28 +02:00
examples revert: change from example 2024-04-15 10:22:37 +02:00
healthz feat: add GoRoutine service 2023-09-08 12:17:23 +02:00
integration Merge branch 'main' of github.com:foomo/keel into feature/otel-update 2024-03-15 16:26:06 +01:00
interfaces refactor: rename and modify CloserFunc 2024-03-15 10:10:17 +01:00
jwt feat: update & fix lints 2024-04-16 09:38:28 +02:00
keeltest revert: remove goleak 2024-04-16 09:52:14 +02:00
log fix: lint issues 2025-03-07 16:36:41 +01:00
markdown feat: add nats readmer 2023-09-11 10:37:18 +02:00
metrics feat: fence output 2023-09-11 14:14:58 +02:00
net feat: add error_context label 2025-03-07 21:10:35 +01:00
persistence fix: parameter 2025-03-07 16:48:49 +01:00
service chore: update go version 2025-05-26 22:05:49 +02:00
telemetry fix: lint issues 2024-11-18 15:39:54 +01:00
time feat: add keeltime 2022-01-03 13:20:06 +01:00
utils/net/http feat: wrap server error 2023-07-10 12:22:16 +02:00
.editorconfig chore: linting 2021-11-19 14:16:09 +01:00
.gitignore chore: update github workflow 2023-09-08 12:17:44 +02:00
.golangci.yml chore: update go version 2025-05-26 22:05:49 +02:00
.goreleaser.yml chore: update goreleaser 2025-03-07 16:35:31 +01:00
.husky.yaml chore: bump golangci-lint 2025-05-26 21:54:45 +02:00
.prettierrc.yml chore: update github workflow 2021-11-19 12:29:44 +01:00
closer.go feat: add mongo and refactor readme 2023-09-08 22:24:31 +02:00
errors.go feat: update graceful shutdown 2024-03-15 11:01:25 +01:00
go.mod chore(deps): bump github.com/go-logr/logr in the gomod-update group 2025-06-02 22:21:11 +00:00
go.sum chore(deps): bump github.com/go-logr/logr in the gomod-update group 2025-06-02 22:21:11 +00:00
healthz.go feat: add mongo and refactor readme 2023-09-08 22:24:31 +02:00
ldflags.go initial commit 2021-05-18 08:34:47 +02:00
LICENSE docs: update README 2024-11-22 09:15:21 +01:00
Makefile chore: remove gotestfmt 2025-05-26 22:00:50 +02:00
option.go revert: remove graceful timeout 2024-04-15 09:09:12 +02:00
README.md docs: add community files 2025-03-07 16:35:10 +01:00
server_test.go fix: lint issues 2025-03-07 16:36:41 +01:00
server.go fix: lint issues 2024-11-18 15:39:54 +01:00
service.go feat: add name 2021-11-16 15:31:09 +01:00
serviceenabler.go fix: check closed after sleep 2025-06-02 17:43:39 +02:00

Build Status Go Report Card Coverage Status GoDoc

sesamy

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

Please refer to the CONTRIBUTING details and follow the CODE_OF_CONDUCT and SECURITY guidelines.

License

Distributed under MIT License, please see license file within the code for more details.

Made with ♥ foomo by bestbytes