service

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package service defines application resources and configuration.

Index

Constants

View Source
const Name = "cache-story"

Name is the name of this application or service.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	brick.BaseConfig

	Cache string `split_words:"true" default:"advanced" enum:"none,naive,advanced"`

	Database database.Config `split_words:"true"`
	Jaeger   jaeger.Config   `split_words:"true"`
}

Config defines application configuration.

type GreetingClearerProvider

type GreetingClearerProvider interface {
	GreetingClearer() greeting.Clearer
}

GreetingClearerProvider is a service provider.

type GreetingMakerProvider

type GreetingMakerProvider interface {
	GreetingMaker() greeting.Maker
}

GreetingMakerProvider is a service provider.

type Locator

Locator defines application resources.

Jump to

Keyboard shortcuts

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