next

package
v0.0.0-...-b197db6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 12 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
	// contains filtered or unexported fields
}

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