Skip to content
MouseHatGamesPublic

About

Small and extensible microservice framework for Go

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Latest commit

 

History

61 Commits

Folders and files

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"
)

func main() {
	svc := mice.NewService(
		options.Name("my-service"),
		options.RPCPort(8080),
		json.Codec(),
		grpc.Transport(),
	)

	if err := 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