gofr-dev/gofr

View on GitHub
examples/grpc-server/main.go

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
package main

import (
    "gofr.dev/examples/grpc-server/grpc"
    "gofr.dev/pkg/gofr"
)

func main() {
    app := gofr.New()

    grpc.RegisterHelloServerWithGofr(app, &grpc.HelloGoFrServer{})

    app.Run()
}