api

package
v0.0.0-...-768bafe Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func New

func New(log logger.Logger, conf *config.Config, taskManager *tmanager.Manager) *API

func (*API) Name

func (s *API) Name() string

Name returns the service name

func (*API) Start

func (s *API) Start(ctx context.Context) error

Start starts the API service

func (*API) Stop

func (s *API) Stop(ctx context.Context) error

Stop stops the API service

Jump to

Keyboard shortcuts

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