package
Version:
v0.0.0-...-d34620b
Opens a new window with list of versions in this module.
Published: May 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Listen(listener func() error)
type Configuration struct {
Urls map[string]string `yaml:"urls,omitempty"`
Hydra *Hydra `yaml:"hydra,omitempty"`
Kratos *Kratos `yaml:"kratos,omitempty"`
Keto *Keto `yaml:"keto,omitempty"`
Server *Server `yaml:"server,omitempty"`
Messages *Messages `yaml:"messages,omitempty"`
MasterInvite string
}
type Hydra struct {
Session *Session `yaml:"session,omitempty"`
AdminApiUrl string `yaml:"admin_api_url,omitempty"`
}
type Keto struct {
WriteApiUrl string `yaml:"write_api_url,omitempty"`
ReadApiUrl string `yaml:"read_api_url,omitempty"`
}
type Kratos struct {
AdminApiUrl string `yaml:"admin_api_url"`
PublicApiUrl string `yaml:"public_api_url"`
}
type Messages struct {
NoInviteLinkErrorMessage string `yaml:",omitempty"`
InvalidInviteLinkErrorMessage string `yaml:",omitempty"`
}
type Server struct {
RunMode string `yaml:"run_mode,omitempty"`
Endpoint string `yaml:"endpoint,omitempty"`
}
type Session struct {
RememberFor int64 `yaml:"remember_for,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.