# tigrpc server
tigrpc server is a wrapper of [grpc](https://github.com/grpc/grpc-go). 
It provides out-of-box trace, metrics, log and recovery for a grpc server.

## Quick start

To use tigrpc with the default options.

```Golang
import (
	tigrpc "github.com/tidbcloud/tiinf/transport/tigrpc/server"
)

func main() {
	s := tigrpc.NewServer(tigrpc.WithDefault())
	// Register your handlers here
	...

	s.Serve()
}
```

See the [examples](../../../examples/tigrpc/) for detailed information for usage.

