domain

package
v0.0.0-...-40f0f07 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CollectionProperties = "properties"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
}

type Properties

type Properties struct {
	Id          uint   `json:"id"`
	Application string `json:"application"`
	Profile     string `json:"profile"`
	Key         string `json:"key"`
	Value       string `json:"value"`
}

type PropertiesRepository

type PropertiesRepository interface {
	Fetch(c context.Context) ([]Properties, error)
	FetchByApplicationAndProfile(c context.Context, application string, profile string) ([]Properties, error)
}

type PropertiesUseCase

type PropertiesUseCase interface {
	GetProperties(c context.Context) ([]Properties, error)
	GetByApplicationAndProfile(c context.Context, application string, profile string) ([]Properties, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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