location

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

The location package implements a location queue built on top of the session service. You can use it to keep track of the path a user took to get to a particular location, and then allow that user to back out of that path. This is helpful in situations where there are multiple paths to get to a page, but the user presses a Save or Cancel button indicating the user wants to go back to whatever location they were previously at.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear(ctx context.Context)

func Pop

func Pop(ctx context.Context) (loc string)

func Push

func Push(ctx context.Context, loc string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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