rpc

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rpc

type Rpc interface {
	StartRpc(context.Context, *sync.WaitGroup)
}

func NewRpc

func NewRpc(repositoryService *db.RepositoryService, services *service.ServiceResolver) Rpc

type RpcService

type RpcService struct {
	RepositoryService             *db.RepositoryService
	OcpiService                   *transportation.OcpiService
	SyncService                   *ocpiSync.SyncService
	Server                        *grpc.Server
	RpcCommandResolver            *command.RpcCommandResolver
	RpcCredentialResolver         *credential.RpcCredentialResolver
	RpcResolver                   *rpc.RpcResolver
	RpcTokenResolver              *token.RpcTokenResolver
	RpcTokenAuthorizationResolver *tokenauthorization.RpcTokenAuthorizationResolver
}

func (*RpcService) StartRpc

func (rs *RpcService) StartRpc(ctx context.Context, waitGroup *sync.WaitGroup)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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