service

package
v0.0.0-...-9796f1a Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package service implements the foobar.service1 service.

Index

Constants

This section is empty.

Variables

View Source
var Name = version.Name

Name is the service name.

Functions

func Commands

func Commands() []*cli.Command

Commands returns commands specific to the service.

func MainCommands

func MainCommands() []*cli.Command

MainCommands returns the commands which get appended to the "main/monolith" App.

func ProvideClientOpts

func ProvideClientOpts() ([]client.Option, error)

ProvideClientOpts provides options for the go-orb client.

Types

type ActionHealth

type ActionHealth func() error

type ActionServer

type ActionServer func() error

type Runner

type Runner func(command []string) error

func ProvideRunner

func ProvideRunner(serviceContext *cli.ServiceContext, flags []*cli.Flag) (Runner, error)

ProvideRunner provides a runner for the service.

Jump to

Keyboard shortcuts

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