Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BuildTime should be set to a datetime string. BuildTime = "n/a" // Commit should be set to a Git commit SHA. Commit = "n/a" // Version should be set to the tid version. Version = "n/a" )
Functions ¶
func CreateApplication ¶
func CreateApplication(kernel *TidKernel) *console.Application
CreateApplication builds the console application instance. Providing it with some basic information like the name and version.
Types ¶
type TidKernel ¶
type TidKernel struct { // Backend provides an abstracted, but reasonably low-level interface to the underlying storage. Backend state.Backend // Config has all the configurations specified in the config file Config types.Config // Factory abstracts the creation of services. Factory util.Factory }
TidKernel is the core "container", and provider of services and information to the `tid` cli application.
Click to show internal directories.
Click to hide internal directories.