services

package
v0.0.0-...-b579c22 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2016 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

func EnsureAuth

func EnsureAuth(session sessions.Session, r render.Render, req *http.Request, c martini.Context)

func PreventReauth

func PreventReauth(session sessions.Session, r render.Render)

Types

type GithubIntegration

type GithubIntegration struct {
	// contains filtered or unexported fields
}

func NewGithubIntegration

func NewGithubIntegration() GithubIntegration

func (GithubIntegration) HandleWebhookEvent

func (g GithubIntegration) HandleWebhookEvent(payload []byte)

type ProjectService

type ProjectService struct{}

func (ProjectService) Create

func (ps ProjectService) Create(projet models.Project, r render.Render)

func (ProjectService) New

func (ps ProjectService) New(r render.Render)

func (ProjectService) Register

func (ps ProjectService) Register(router martini.Router)

type Service

type Service interface {
	Register(martini.Router)
}

type UserService

type UserService struct{}

func (UserService) Create

func (us UserService) Create(user models.User, req *http.Request, rw http.ResponseWriter, r render.Render)

func (UserService) Dashboard

func (us UserService) Dashboard(current_user models.User, r render.Render)

func (UserService) Edit

func (us UserService) Edit(currentUser models.User, params martini.Params, r render.Render)

func (UserService) Register

func (us UserService) Register(router martini.Router)

func (UserService) SignIn

func (us UserService) SignIn(r render.Render)

func (UserService) SignOut

func (us UserService) SignOut(w http.ResponseWriter, req *http.Request, r render.Render)

func (UserService) SignUp

func (us UserService) SignUp(r render.Render)

func (UserService) SyncHeartbeats

func (us UserService) SyncHeartbeats(currentUser models.User, r render.Render, req *http.Request)

func (UserService) Update

func (us UserService) Update(user models.User, req *http.Request, r render.Render)

type WebhookService

type WebhookService struct{}

func (WebhookService) Handle

func (ws WebhookService) Handle(r render.Render, req *http.Request, params martini.Params)

func (WebhookService) Register

func (ws WebhookService) Register(router martini.Router)

Jump to

Keyboard shortcuts

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