server

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Kind = "scheduler"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address   string
	Config    config.Config
	Logger    logger.Logger
	Scheduler scheduler.Scheduler
}

func DefaultConfig

func DefaultConfig() *Config

type Server

type Server interface {
	Init(context.Context) error
	Deinit(context.Context) error
	Run(context.Context) error
}

func New

func New(_ context.Context, cfg *Config) Server

Directories

Path Synopsis
Package mock_proto is a generated GoMock package.
Package mock_proto is a generated GoMock package.

Jump to

Keyboard shortcuts

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