grpc

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2020 License: GPL-3.0 Imports: 9 Imported by: 4

README

Phi Skills Generic gRPC API Server for Go

Homepage https://phiskills.com
GitHub https://github.com/phiskills

Overview

This project contains the Go module to create a generic gRPC API Server.

Installation

go get github.com/phiskills/grpc-api.go

Creating the server

package main
import "github.com/phiskills/grpc-api.go"

api := grpc.New('My API')
xxx.RegisterXxxServer(api.Server(), &xxxServer{})
api.Start()

For more details, see gRPC Basics - Go: Creating the server.

Documentation

Index

Constants

View Source
const (
	Unknown status = iota
	Serving
	NotServing
)

Variables

This section is empty.

Functions

func New

func New(name string) (a *api)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL