grpc

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config, eventLog eventlog.EventManager) (*grpcServer, error)

New creates and starts gRPC services.

Types

type Config

type Config struct {
	// Addr to listen for gRPC connections
	Addr string `json:"addr"`
	// Cert is a server certificate path
	Cert string `json:"cert"`
	// Key is a server certificate key
	Key string `json:"key"`
	// ClientCA certificate path
	ClientCA string `json:"client_ca"`
}

Jump to

Keyboard shortcuts

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