repo

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2018 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposeHookEnvs

func ComposeHookEnvs(opts ComposeHookEnvsOptions) []string

ComposeHookEnvs magic

func DownloadArchive

func DownloadArchive(ctx *context.Context)

DownloadArchive of repository

func HTTP

func HTTP(ctx *HTTPContext)

HTTP Context

func HTTPContexter

func HTTPContexter() macaron.Handler

HTTPContexter magic

Types

type ComposeHookEnvsOptions

type ComposeHookEnvsOptions struct {
	AuthUser  *models.User
	OwnerName string
	OwnerSalt string
	RepoID    int64
	RepoName  string
	RepoPath  string
}

ComposeHookEnvsOptions struct

type HTTPContext

type HTTPContext struct {
	*context.Context
	OwnerName string
	OwnerSalt string
	RepoID    int64
	RepoName  string
	AuthUser  *models.User
}

HTTPContext struct

Jump to

Keyboard shortcuts

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