apiserver

package
v0.0.0-...-a35c77e Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(config *Config) error

func TestServer_AuthenticateUser

func TestServer_AuthenticateUser(t *testing.T)

func TestServer_HandleSessionsCreate

func TestServer_HandleSessionsCreate(t *testing.T)

func TestServer_HandleUsersCreate

func TestServer_HandleUsersCreate(t *testing.T)

Types

type Config

type Config struct {
	BindAddr    string `toml:"bind_addr"`
	LogLevel    string `toml:"log_level"`
	DatabaseURL string `toml:"database_url"`
	SessionKey  string `toml:"session_key"`
}

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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