service

package
v0.0.0-...-37b99e7 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package service initializes the Stilla service. This creates the logger, retrieves configuration and starts the web server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Name       string `yaml:"name" json:"name"`
	ConfigFile string `yaml:"config_file" json:"config_file"`
	DomainName string `yaml:"domain_name" json:"domain_name"`
}

func NewService

func NewService(configFile string) *Service

func (*Service) Start

func (s *Service) Start() error

Start starts the service

Jump to

Keyboard shortcuts

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