grpcservice

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(
	version string, svcConfig Config, appConfig *config.Config,
) (interfaces.Service, error)

Types

type Config

type Config struct {
	Datadir           string
	Port              uint32
	AdminPort         uint32
	NoTLS             bool
	NoMacaroons       bool
	TLSExtraIPs       []string
	TLSExtraDomains   []string
	HeartbeatInterval int64
	EnablePprof       bool
}

func (Config) Validate

func (c Config) Validate() error

Directories

Path Synopsis
panic.go recovers from panics and converts them into proper gRPC errors instead of crashing the server.
panic.go recovers from panics and converts them into proper gRPC errors instead of crashing the server.

Jump to

Keyboard shortcuts

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