route

package
v0.0.0-...-f9dd4c8 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2017 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlamePath

func BlamePath(r *model.Repo, b *model.Blob) string

func BlobPath

func BlobPath(r *model.Repo, c *model.Commit, b *model.Blob) string

func CommitPath

func CommitPath(r *model.Repo, c *model.Commit) string

TODO: clean this up and make CommitPath do the logic to determine if commit is part of url

func CommitsPath

func CommitsPath(r *model.Repo, e *model.Ref) string

func RepoPath

func RepoPath(r *model.Repo) string

func Setup

func Setup(e *echo.Echo)

func UserPath

func UserPath(u *model.User) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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