app

package
v0.0.0-...-29f2d0a Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeEnroller   = "enrolment"
	ModeSharedAuth = "sharedauth"
)

Variables

View Source
var (

	// Version application version number
	Version string

	// Branch is the repository branch which was used to build the application
	Branch string

	// Commit number
	Commit string

	// BuildTime is the time which the application was built
	BuildTime string
)
View Source
var Mode string

Functions

This section is empty.

Types

type App

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

App represents the http server and c8y microservice application

func NewApp

func NewApp() *App

NewApp initializes the microservice with default configuration and registers the microservice

func (*App) Run

func (a *App) Run()

Run starts the microservice

Jump to

Keyboard shortcuts

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