mono

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package mono provides embedded microservice.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ctx

type Ctx = context.Context

Ctx is a synonym for convenience.

type Service

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

Service implements main.embeddedService interface.

func (*Service) Init

func (s *Service) Init(sharedCfg *config.Shared, _, serveCmd *cobra.Command) error

Init implements main.embeddedService interface.

func (*Service) Name

func (s *Service) Name() string

Name implements main.embeddedService interface.

func (*Service) RunServe

func (s *Service) RunServe(_, ctxShutdown Ctx, shutdown func()) (err error)

RunServe implements main.embeddedService interface.

Jump to

Keyboard shortcuts

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