auth/internal/config/usecase.go

27 lines
658 B
Go
Raw Normal View History

package config
2021-10-13 21:31:10 +00:00
import "time"
type UseCase interface {
2021-10-13 21:31:10 +00:00
GetDatabasePath() string
GetDatabaseType() string
GetIndieAuthAccessTokenExpirationTime() time.Duration
GetIndieAuthEnabled() bool
GetIndieAuthJWTSecret() string
GetIndieAuthJWTSigningAlgorithm() string
GetIndieAuthJWTSigningPrivateKeyFile() string
GetName() string
GetRunMode() string
GetServerAddress() string
GetServerCertificate() string
GetServerDomain() string
GetServerEnablePPROF() bool
GetServerHost() string
GetServerKey() string
GetServerPort() int
GetServerProtocol() string
GetServerRootURL() string
GetServerStaticRootPath() string
GetServerStaticURLPrefix() string
}