Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandlerGrpc ¶ added in v0.2.2
Types ¶
type GrpcConfig ¶ added in v0.2.2
type GrpcServiceWorker ¶ added in v0.2.2
type GrpcServiceWorker struct { *worker.BaseWorker // contains filtered or unexported fields }
func NewGrpcServiceWorker ¶ added in v0.2.2
func NewGrpcServiceWorker(name string, config *GrpcConfig) *GrpcServiceWorker
func (*GrpcServiceWorker) AddRegFunc ¶ added in v0.2.2
func (w *GrpcServiceWorker) AddRegFunc(f RegFuncGrpcServiceWorker)
func (*GrpcServiceWorker) Run ¶ added in v0.2.2
func (w *GrpcServiceWorker) Run()
func (*GrpcServiceWorker) SetErrorHandler ¶ added in v0.2.2
func (w *GrpcServiceWorker) SetErrorHandler(f grpc_recovery.RecoveryHandlerFuncContext)
func (*GrpcServiceWorker) Setup ¶ added in v0.2.2
func (w *GrpcServiceWorker) Setup()
func (*GrpcServiceWorker) Stop ¶ added in v0.2.2
func (w *GrpcServiceWorker) Stop()
type RegFuncGrpcServiceWorker ¶ added in v0.2.2
type RegFuncGrpcServiceWorker func(s *grpc.Server, wc *worker.WorkerAdapters)
Click to show internal directories.
Click to hide internal directories.