import "go.chromium.org/luci/casviewer"
blobs.go client.go errors.go handlers.go
GetClient returns a Client by loading it from cache or creating a new one.
func InstallHandlers(r *router.Router, cc *ClientCache)
InstallHandlers install CAS Viewer handlers to the router.
NewClient connects to the instance of remote execution service, and returns a client.
type ClientCache struct {
// contains filtered or unexported fields
}
ClientCache caches CAS clients, one per an instance.
func NewClientCache(ctx context.Context) *ClientCache
NewClientCache initializes ClientCache.
func (cc *ClientCache) Clear()
Clear closes Clients gracefully, and removes them from cache.
Get returns a Client by loading it from cache or creating a new one.
Path | Synopsis |
---|---|
appengine |
Package casviewer imports 21 packages (graph) and is imported by 2 packages. Updated 2021-01-26. Refresh now. Tools for package owners.