api

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(config *core.Config) *App

func (*App) Listen

func (app *App) Listen() error

type Auth added in v0.8.0

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

func NewAuth added in v0.8.0

func NewAuth(url string) (*Auth, error)

func (*Auth) SessionID added in v0.8.0

func (auth *Auth) SessionID(r *http.Request) string

func (*Auth) UserID added in v0.8.0

func (auth *Auth) UserID(r *http.Request) (string, error)

Jump to

Keyboard shortcuts

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