core

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseCotainer

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

BaseContainer - A fundamental container that provides basic functionalities

func NewBaseCotainer

func NewBaseCotainer() *BaseCotainer

NewBaseContainer - Creates a new instance of the base container

func (*BaseCotainer) Config

func (b *BaseCotainer) Config() *config.JSON

Config - Represents the JSON-formatted configuration settings for the container

func (*BaseCotainer) Metrics added in v0.1.3

func (b *BaseCotainer) Metrics() *container.Metrics

Metrics - Represents the measurements or quantifications of some aspect of the container's operation

func (*BaseCotainer) SetConfig

func (b *BaseCotainer) SetConfig(conf *config.JSON)

SetConfig - Sets the JSON configuration for the container

func (*BaseCotainer) SetMetrics added in v0.1.3

func (b *BaseCotainer) SetMetrics(metrics *container.Metrics)

SetMetrics - Sets the metrics for the container

type Container

type Container interface {
	Start() error
	Metrics() *container.Metrics
}

Container - A component that holds or encapsulates other components

Directories

Path Synopsis
statistics
transport

Jump to

Keyboard shortcuts

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