wgrpc

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WrapperGrpc

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

Wrapper type

func NewWrapperGrpc

func NewWrapperGrpc(ifc, port string) (*WrapperGrpc, error)

Creates a new grpc wrapper

func NewWrapperGrpcTLS added in v1.3.0

func NewWrapperGrpcTLS(ifc, port, cert, key string) (*WrapperGrpc, error)

Creates a new TLS grpc wrapper

func (*WrapperGrpc) Serve

func (wrapperGrpc *WrapperGrpc) Serve()

Serves grpc server

func (*WrapperGrpc) Server

func (wrapperGrpc *WrapperGrpc) Server() *grpc.Server

Returns wrapper server

Jump to

Keyboard shortcuts

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