grpc

package
v0.1.4-beta Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServer

func GetServer() *grpc.Server

func Grpc

func Grpc(opts ...Option) plugin.Plugin

Types

type Option

type Option func(g *ServiceGrpc)

func Config

func Config(c *conf.Grpc) Option

func Weight

func Weight(w int) Option

type ServiceGrpc

type ServiceGrpc struct {
	// contains filtered or unexported fields
}

func (*ServiceGrpc) ConfPrefix

func (g *ServiceGrpc) ConfPrefix() string

func (*ServiceGrpc) DependsOn

func (g *ServiceGrpc) DependsOn(b config.Value) []string

func (*ServiceGrpc) Load

func (g *ServiceGrpc) Load(b config.Value) (plugin.Plugin, error)

func (*ServiceGrpc) Name

func (g *ServiceGrpc) Name() string

func (*ServiceGrpc) Unload

func (g *ServiceGrpc) Unload() error

func (*ServiceGrpc) Weight

func (g *ServiceGrpc) Weight() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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