userorganization

package
v0.0.0-...-d3d53d6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2016 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UsersusernameorganizationsInterfaceRoutes

func UsersusernameorganizationsInterfaceRoutes(r *mux.Router, i UsersusernameorganizationsInterface)

UsersusernameorganizationsInterfaceRoutes is routing for /users/{username}/organizations root endpoint

Types

type Oauth2oauth_2_0Middleware

type Oauth2oauth_2_0Middleware struct {
	user.Oauth2oauth_2_0Middleware
}

Oauth2oauth_2_0Middleware is just a wrapper for the user authorization middleware and follows the same rules for authorization

type UsersusernameorganizationsAPI

type UsersusernameorganizationsAPI struct {
}

func (UsersusernameorganizationsAPI) Get

Get the list organizations a user is owner or member of It is handler for GET /users/{username}/organizations

type UsersusernameorganizationsInterface

type UsersusernameorganizationsInterface interface {
	// Get the list organizations a user is owner or member of
	Get(http.ResponseWriter, *http.Request)
	// contains filtered or unexported methods
}

UsersusernameorganizationsInterface is interface for /users/{username}/organizations root endpoint

Jump to

Keyboard shortcuts

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