webserver

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscordOAuthConfig

type DiscordOAuthConfig struct {
	ClientID     string
	ClientSecret string
}

type Webserver

type Webserver struct {
	// contains filtered or unexported fields
}

func New

func (*Webserver) ListenAndServeBlocking

func (t *Webserver) ListenAndServeBlocking() error

type WebserverConfig

type WebserverConfig struct {
	BindAddress   string
	PublicAddress string
	DiscordOAuth  DiscordOAuthConfig
	TwitchOAuth   *twitch.TwitchOAuthConfig
	Auth          auth.AuthConfig
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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