Versions in this module Expand all Collapse all v0 v0.3.0 Apr 17, 2021 Changes in this version type AddressMap + Hook ServiceAddress v0.2.3 Jun 14, 2020 v0.2.2 Dec 19, 2019 v0.2.1 Nov 6, 2019 Changes in this version + const SessionErrorsKey + const SessionKey + var DefaultEndpoint = ghoauth.Endpoint + var DefaultServices = AddressMap + var OAuthRepositoryScope = []string + var TestClientConfig = ClientConfig + func DefaultGithubClient() github.Client + func Parse(filename string, obj interface{}) error + func SetDefaultGithubClient(client github.Client) + type AddressMap struct + Asset ServiceAddress + Auth ServiceAddress + Data ServiceAddress + Log ServiceAddress + Queue ServiceAddress + Repository ServiceAddress + UI ServiceAddress + type AuthConfig struct + FixedCapabilities map[string][]string + SessionCryptKey string + TokenCryptKey string + func (ac *AuthConfig) ParseTokenKey() error + func (ac *AuthConfig) ParsedSessionCryptKey() []byte + func (ac *AuthConfig) Validate(parseCrypt bool) error + type CertConfig struct + CAFile string + CertFile string + KeyFile string + func (cc *CertConfig) Validate() error + func (cc CertConfig) Load() (*transport.Cert, error) + type ClientConfig struct + Asset string + Auth string + Cert CertConfig + Data string + Log string + Queue string + Repository string + UI string + func (cc *ClientConfig) CreateClients(uc UserConfig, service string) (*Clients, error) + func (cc *ClientConfig) Validate() error + type Clients struct + Asset *asset.Client + Auth *auth.Client + Data *data.Client + Log *log.SubLogger + Queue *queue.Client + func (c *Clients) CloseClients() + type OAuthConfig struct + ClientID string + ClientSecret string + RedirectURL string + func (oc OAuthConfig) Config(scopes []string) *oauth2.Config + func (oc OAuthConfig) GithubClient(token *types.OAuthToken) github.Client + func (oc OAuthConfig) Validate() error + type Service struct + Clients *Clients + Formats strfmt.Registry + Model *model.Model + Name string + NoTLSServer bool + UseDB bool + UseSessions bool + type ServiceAddress struct + HTTP bool + Hostname string + Port uint + TLS bool + func (sa ServiceAddress) String() string + type ServiceConfig map[string]interface + type UserConfig struct + Auth AuthConfig + ClientConfig ClientConfig + DSN string + EnableTracing bool + HookURL string + OAuth OAuthConfig + Port uint + ReadonlyClient bool + RequestLogging bool + ServiceConfig ServiceConfig + TLS CertConfig + URL string + Websockets Websockets + type Websockets struct + BufSize int + InsecureWebSockets bool + MaxAttachBuffer int64