Back to godoc.org

Package lib

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Overview

Package lib is used to implement the parent package main.

Index

Constants

const IsolatedVersion = "0.3"

IsolatedVersion must be updated whenever functional change (behavior, arguments, supported commands) is done.

func CmdArchive

func CmdArchive(options CommandOptions) *subcommands.Command

CmdArchive returns an object for the `archive` subcommand.

func CmdDownload

func CmdDownload(options CommandOptions) *subcommands.Command

CmdDownload returns an object for the `download` subcommand.

type CommandOptions

type CommandOptions struct {
	AuthClient      *http.Client
	AnonClient      *http.Client
	DefaultAuthOpts auth.Options
}

CommandOptions is used to initialize an isolated command.

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