Categorygithub.com/peter-mount/go-kernel/v2
modulepackage
2.0.2
Repository: https://github.com/peter-mount/go-kernel.git
Documentation: pkg.go.dev

# README

go-kernel

A small microkernel got golang applications

This was originally part of the golib project but has now been split out as it's really a separate project in it's own right.

# Packages

A simple kernel service wich provides access to a single github.com/etcd-io/bbolt object store.
Package cron This provides the Kernel a managed Cron service.
No description provided by the author
No description provided by the author
A simple amqp library for connecting to RabbitMQ This is a wrapper around the github.com/streadway/amqp library.
Package rest A basic REST server supporting HTTP.
No description provided by the author
No description provided by the author

# Functions

Launch is a convenience method to launch a single service.
Register will add the specified services to the kernel.
RegisterAPI registers an API.

# Structs

No description provided by the author
Kernel is the core container for deployed services.
MemUsage is a Kernel service which will log on shutdown the duration of the process and how much memory it has used.
No description provided by the author

# Interfaces

InitialisableService a Service that expects to be called in the Init lifecycle phase.
NamedService is the original Service where the Name() function returns the unique name.
PostInitialisableService a Service that expects to be called in the PostInit lifecycle phase.
RunnableService a Service that is expected to run in the Run lifecycle phase.
Service to be deployed within the Kernel.
StartableService a Service that expects to be called in the Start lifecycle phase.
StoppableService a Service that expects to be called when the kernel shutsdown if it's in the Start or Run lifecycle phases.