-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdoc.go
More file actions
20 lines (20 loc) · 916 Bytes
/
doc.go
File metadata and controls
20 lines (20 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Package kitty is a slightly opinionated framework based on go-kit.
// It's goal is to ease development of services deployed on Kubernetes (or any similar orchestration platform).
//
// Kitty has an opinion on:
//
// * transports: HTTP only (additional transports can be added as long as they implement kitty.Transport),
// * errors: an error may be Retryable (e.g. 5XX status codes) or not (e.g. 4XX status codes).
//
// Kitty has no opinion on:
//
// * logging: no logs are generated by default, you can plug your logger and it will get additional context,
//
// * packages: kitty only imports go-kit and the standard library,
//
// * routers: you can use any router (Gorilla Mux works out of the box, other routers can easily be plugged),
//
// * encoding: use whatever encoding you want (JSON, messagepack, protobuf, ...),
//
// * monitoring, metrics and tracing: use Istio or a sidecar process.
package kitty