service

package
v0.0.0-...-e7509a3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(cfg MainCfg, init func(srv *server.Server, impl *Implementations) error)

Main initializes and runs a logdog microservice process.

Types

type Implementations

type Implementations struct {
	Storage     storage.Storage       // the intermediate storage
	Coordinator logdog.ServicesClient // the bundling coordinator client
}

Implementations contains some preconfigured Logdog subsystem clients.

type MainCfg

type MainCfg struct {
	// The AppProfile for the global BigTable client for this service.
	//
	// If empty, the default application profile will be used.
	BigTableAppProfile string
}

MainCfg are global configuration options for `Main`.

The settings here are tied to the code-to-be-executed, rather than the the execution environment for the code.

Jump to

Keyboard shortcuts

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