pmemcsidriver

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NonBlockingGRPCServer

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

NonBlocking server

func NewNonBlockingGRPCServer

func NewNonBlockingGRPCServer() *NonBlockingGRPCServer

func (*NonBlockingGRPCServer) ForceStop

func (s *NonBlockingGRPCServer) ForceStop()

func (*NonBlockingGRPCServer) Start

func (s *NonBlockingGRPCServer) Start(endpoint string, tlsConfig *tls.Config, services ...PmemService) error

func (*NonBlockingGRPCServer) Stop

func (s *NonBlockingGRPCServer) Stop()

func (*NonBlockingGRPCServer) Wait

func (s *NonBlockingGRPCServer) Wait()

type PmemService

type PmemService interface {
	// RegisterService will be called by NonBlockingGRPCServer whenever
	// its about to start a grpc server on an endpoint.
	RegisterService(s *grpc.Server)
}

Jump to

Keyboard shortcuts

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