capabilities

package
v0.0.0-...-75ddc91 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package capabilities implements the REAPI Capabilities service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(s *grpc.Server)

Register creates and registers a new Service with the given gRPC server.

Types

type Service

type Service struct {
	remote.UnimplementedCapabilitiesServer
}

Service implements the REAPI Capabilities service.

func NewService

func NewService() *Service

NewService creates a new Service.

func (*Service) GetCapabilities

func (s *Service) GetCapabilities(ctx context.Context, request *remote.GetCapabilitiesRequest) (*remote.ServerCapabilities, error)

GetCapabilities returns the capabilities of the server.

Jump to

Keyboard shortcuts

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