runtime

package
v3.15.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 85 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *Options)

Option defines a single option function.

func WithContext

func WithContext(ctx context.Context) Option

WithContext sets the context to use.

func WithLogger

func WithLogger(logger *zerolog.Logger) Option

WithLogger provides a function to set the logger option.

func WithPidFile

func WithPidFile(pidfile string) Option

WithPidFile sets to pidfile to use.

func WithRegistry

func WithRegistry(r registry.Registry) Option

WithRegistry provides a function to set the registry.

type Options

type Options struct {
	Logger   *zerolog.Logger
	Registry registry.Registry
	PidFile  string
	Ctx      context.Context
}

Options defines the available options for this package.

type Reva

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

Reva represents a full instance of reva.

func New

func New(config *config.Config, opt ...Option) (*Reva, error)

New creates a new reva instance.

func (*Reva) Start

func (r *Reva) Start() error

Start starts all the reva services and waits for a signal.

type Server

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

Server represents a reva server (grpc or http).

func (*Server) Start

func (s *Server) Start() error

Start starts the server listening on the assigned listener.

Jump to

Keyboard shortcuts

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