app

package module
v0.0.0-...-20e9297 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2020 License: MIT Imports: 2 Imported by: 0

README

Logo

About

An application template to jump start an application using hamba components.

mmake

If using mmake, commands have been provided to build and test your application.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

Application represents the application.

func NewApplication

func NewApplication(l log.Logger, s stats.Statter) *Application

NewApplication creates an instance of Application.

func (*Application) IsHealthy

func (a *Application) IsHealthy() error

IsHealthy checks the health of the Application.

func (*Application) Logger

func (a *Application) Logger() log.Logger

Logger returns the Logger attached to the Application.

func (*Application) Statter

func (a *Application) Statter() stats.Statter

Statter returns the Statter attached to the Application.

func (*Application) YourFunction

func (a *Application) YourFunction() error

YourFunction represents your application function.

Directories

Path Synopsis
cmd
app command

Jump to

Keyboard shortcuts

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