grpc

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 6 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
	Opts    []grpc.ServerOption
}

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