Skip to content

Repository files navigation

mice

PkgGoDev

Opinionated microservice framework designed for deployment on Kubernetes.

Minimal example:

package main
import (
"github.com/MouseHatGames/mice""github.com/MouseHatGames/mice-plugins/codec/json""github.com/MouseHatGames/mice-plugins/transport/grpc"
)
funcmain() {
svc:=mice.NewService(
options.Name("my-service"),
options.RPCPort(8080),
json.Codec(),
grpc.Transport(),
)
iferr:=svc.Start(); err!=nil {
log.Fatalf("failed to start: %v", err)
}
}

About

Small and extensible microservice framework for Go

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages