apid

package
v0.0.0-...-e890a9a Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: BSD-3-Clause Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "apid"
	DefaultUUID = "67d6ae85-1c0c-4e26-9cc8-841ef53b3ba0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithIPCAddr

func WithIPCAddr(ipcAddr string) Option

func WithInit

func WithInit(id uuid.UUID) Option

func WithLogger

func WithLogger(log logr.Logger) Option

func WithName

func WithName(name string) Option

type Service

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

func New

func New(opts ...Option) *Service

func (*Service) Name

func (s *Service) Name() string

func (*Service) Run

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

func (*Service) UUID

func (s *Service) UUID() uuid.UUID

Jump to

Keyboard shortcuts

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