next

package
v0.0.0-...-dae269f Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Next

type Next struct {
	component.Base
	Dependencies struct {
		Auth      *auth.Auth
		Policy    *policy.Policy
		Instances *instances.Instances
	}
}

func (*Next) HandleRoute

func (next *Next) HandleRoute(ctx context.Context, path string) (http.Handler, error)

func (*Next) Next

func (next *Next) Next(context context.Context, slug, path string) (string, error)

Next returns a url that will forward authorized users to the given slug and path

func (*Next) Routes

func (next *Next) Routes() component.Routes

Jump to

Keyboard shortcuts

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