grpc

package
v1.3.57 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSourceServer

func NewDataSourceServer(dataSourceService service.DataSourceService) stub.DataSourceServer

func NewEventChannelGrpcService added in v1.1.48

func NewEventChannelGrpcService(service service.EventChannelService, authenticationService service.AuthenticationService) stub.EventChannelServer

func NewRecordServer

func NewRecordServer(service service.RecordService, authenticationService service.AuthenticationService) stub.RecordServer

func NewResourceServer

func NewResourceServer(resourceService service.ResourceService) stub.ResourceServer

func NewWatchServer

func NewWatchServer(service service.WatchService, authenticationService service.AuthenticationService) stub.WatchServer

Types

type RequestWithToken

type RequestWithToken interface {
	GetToken() string
}

type Server

type Server interface {
	Serve(lis net.Listener)
	Init()
	Stop()
}

func NewGrpcServer

func NewGrpcServer(container service.Container) Server

Jump to

Keyboard shortcuts

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