objects

package
v0.0.0-...-c6cbf5f Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceBase

type ServiceBase struct {
	// ID is used as [ID] prefix in log and error messages
	ID string
}

ServiceBase base struct for typical service objects

func NewServiceBase

func NewServiceBase(id string) ServiceBase

func (*ServiceBase) Debugf

func (sb *ServiceBase) Debugf(format string, a ...any)

func (*ServiceBase) Errorf

func (sb *ServiceBase) Errorf(format string, a ...any)

func (*ServiceBase) Fatalf

func (sb *ServiceBase) Fatalf(format string, a ...any)

func (*ServiceBase) Infof

func (sb *ServiceBase) Infof(format string, a ...any)

func (*ServiceBase) NewError

func (sb *ServiceBase) NewError(format string, a ...any) error

func (*ServiceBase) SystemErrorf

func (sb *ServiceBase) SystemErrorf(format string, a ...any)

func (*ServiceBase) Warnf

func (sb *ServiceBase) Warnf(format string, a ...any)

Jump to

Keyboard shortcuts

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