webb_server

package
v0.0.0-...-0291960 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGRPCMethod

func GetGRPCMethod(uriInfo map[string]interface{}) (interface{}, error)

Types

type ClientInterceptor

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

func (*ClientInterceptor) UnaryInterceptor

func (ci *ClientInterceptor) UnaryInterceptor(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error

type GRPCClient

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

func NewGRPCClient

func NewGRPCClient(endpoint string, sslEnabled bool, maxMessageLength int, options map[string]interface{}) (*GRPCClient, error)

func (*GRPCClient) Close

func (c *GRPCClient) Close()

func (*GRPCClient) GetChannelKey

func (c *GRPCClient) GetChannelKey() string

func (*GRPCClient) GetConnection

func (c *GRPCClient) GetConnection() *grpc.ClientConn

type GRPCServer

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

func NewGRPCServer

func NewGRPCServer(port int, maxConnections int) *GRPCServer

func (*GRPCServer) GetGRPCServer

func (s *GRPCServer) GetGRPCServer() *grpc.Server

func (*GRPCServer) Run

func (s *GRPCServer) Run() error

Jump to

Keyboard shortcuts

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