package
0.0.1
Repository: https://github.com/h4xr/bolt-inventory.git
Documentation: pkg.go.dev

# Functions

APIInit initializes the API service using the mux router engine and maps the endpoints to the required call handlers.
NewHost defines the initializer for creating a new host.
NewHostGroup creates a new hostgroup for the inventory.
NewInventory creates a new Inventory store to be used by the Inventory Service.

# Constants

HostgroupCapacity defines the max number of hosts that can be created under a single hostgroup.
InventoryCapacity specifies the maximum number of hostgroups that can be stored inside a single inventory service.

# Structs

Host defines the structure for storing the data related to individual hosts including their names and local variables.
HostGroup defines the structure used for storing the data for the hostgroups that are registered individually in the inventory service.
Inventory struct defines the global service based inventory database used to store the information of all the hostgroups and hosts.