helloworld

package
v0.0.0-...-7c6bc89 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name string `arg:"env:HELLO_NAME"`
}

type HelloWordModule

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

HelloWordModule struct

func New

func New(config *Config) *HelloWordModule

Make the instance. This method never returns any error.

func (*HelloWordModule) Run

func (s *HelloWordModule) Run(mainParams *application.MainParams) error

Run the module. This is non blocking method returns only module starting errors.

func (*HelloWordModule) Stop

func (s *HelloWordModule) Stop()

Jump to

Keyboard shortcuts

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