qpu

package
v0.0.0-...-726f7ef Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQPUService

func NewQPUService(configFile string) (libqpu.QPUService, error)

NewQPUService is responsible for initializing all QPU components and starting the QPU service. This includes:

  • Reading the configuration file
  • Requesting the capabilities of adjacent QPUs in the graph
  • Initializing the state backend store (if any)
  • Initializing the class - specific query processing and response record handling logic (apiserver)
  • Starting the API server for receiving requests

Types

type Service

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

Service represents a QPU service

func (Service) Shutdown

func (s Service) Shutdown()

Shutdown prepares the QPU service for graceful shutdown

func (Service) Start

func (s Service) Start() error

Start starts the QPU's rpcServer. After this point the QPU can receive requests.

Jump to

Keyboard shortcuts

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