Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIService

type APIService struct {
	server.Service
	// contains filtered or unexported fields
}

APIService is the restful API server for Radius Resource Provider.

func NewAPIService

func NewAPIService(options hostoptions.HostOptions, builder []builder.Builder) *APIService

NewAPIService creates a new instance of APIService.

func (*APIService) Name

func (s *APIService) Name() string

Name returns the name of the service.

func (*APIService) Run

func (s *APIService) Run(ctx context.Context) error

Run starts the service.

type AsyncWorker

type AsyncWorker struct {
	worker.Service
	// contains filtered or unexported fields
}

AsyncWorker is a service to run AsyncRequestProcessWorker.

func NewAsyncWorker

func NewAsyncWorker(options hostoptions.HostOptions, builder []builder.Builder) *AsyncWorker

NewAsyncWorker creates new service instance to run AsyncRequestProcessWorker.

func (*AsyncWorker) Name

func (w *AsyncWorker) Name() string

Name represents the service name.

func (*AsyncWorker) Run

func (w *AsyncWorker) Run(ctx context.Context) error

Run starts the service and worker.

Jump to

Keyboard shortcuts

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