grpc

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPAddress

func IPAddress() string

func Init

func Init(config *Config) *grpc.Server

func Port

func Port() int

func Start

func Start()

Types

type Config

type Config struct {
	Address string
	Port    int
	AppName string
}

type GrpcService

type GrpcService interface {
	Register(srv *grpc.Server)
}

Jump to

Keyboard shortcuts

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