Back to godoc.org

Package repo

v0.0.0-...-7724a8b
Latest Go to latest

The latest major version is .

Published: today | License: Apache-2.0 | Module: go.chromium.org/luci

Overview

Package repo contains implementation of cipd.Repository service RPC service.

This is public API of the CIPD backend. Use Public() function to grab an instance of the service that does all ACL checks.

Index

type Server

type Server interface {
	api.RepositoryServer

	// InstallHandlers installs non-pRPC HTTP handlers into the router.
	//
	// Assumes 'base' middleware chain does OAuth2 authentication already.
	InstallHandlers(r *router.Router, base router.MiddlewareChain)
}

Server is api.RepositoryServer that can also expose some non-pRPC routes.

func Public

func Public(internalCAS cas.StorageServer, d *tq.Dispatcher) Server

Public returns publicly exposed implementation of cipd.Repository service.

It checks ACLs.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier