bootstrap

package
v0.0.1-20230330-0004 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrap

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

func GetProcessBootstrap

func GetProcessBootstrap() *Bootstrap

GetProcessBootstrap -> this returns the bootstrap instance!

func Start

func Start() *Bootstrap

func StartForProcess

func StartForProcess() *Bootstrap

StartForProcess -> This is the initial function which will create the bootstrap instance and register some info!

func (*Bootstrap) GetRunningTime

func (b *Bootstrap) GetRunningTime() time.Duration

GetRunningTime -> get the running time of the current app

func (*Bootstrap) GetStartTime

func (b *Bootstrap) GetStartTime() time.Time

GetStartTime -> return the time when started!

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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