Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInfo ¶
type AppInfo struct {
Repository
}
AppInfo is a command that implements a usecase that requests information about the program. Such as build time and commit hash.
func NewAppInfo ¶
func NewAppInfo(r Repository) *AppInfo
type AppRepository ¶
type AppRepository struct{}
func NewAppRepository ¶
func NewAppRepository() AppRepository
func (AppRepository) GetAppInfo ¶
func (a AppRepository) GetAppInfo() Response
type Repository ¶
type Repository interface {
GetAppInfo() Response
}
Repository describes abstract methods to receive information about the application
Click to show internal directories.
Click to hide internal directories.