grpc

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(opts ...ServerOption) *kgrpc.Server

Types

type Registrar

type Registrar func(*kgrpc.Server)

type ServerOption

type ServerOption func(*serverOptions)

func WithConfig

func WithConfig(c *conf.Server_GRPC) ServerOption

func WithLogger

func WithLogger(l log.Logger) ServerOption

func WithMiddleware

func WithMiddleware(mw ...middleware.Middleware) ServerOption

func WithServices

func WithServices(registrars ...Registrar) ServerOption

Jump to

Keyboard shortcuts

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