Documentation ¶
Overview ¶
Package loginsessions implements Login Sessions backend that is used to perform interactive logins in LUCI CLI tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModuleName = module.RegisterName("go.chromium.org/luci/server/loginsessions")
ModuleName can be used to refer to this module when declaring dependencies.
Functions ¶
func NewModule ¶
func NewModule(opts *ModuleOptions) module.Module
NewModule returns a server module that implements login sessions backend.
func NewModuleFromFlags ¶
NewModuleFromFlags is a variant of NewModule that initializes options through command line flags.
Calling this function registers flags in flag.CommandLine. They are usually parsed in server.Main(...).
Types ¶
type ModuleOptions ¶
type ModuleOptions struct { // RootURL is the root URL of the login session server to use in links. // // E.g. "https://<publicly routable domain name>". // // Required for production mode. RootURL string }
ModuleOptions contain configuration of the login sessions server module.
func (*ModuleOptions) Register ¶
func (o *ModuleOptions) Register(f *flag.FlagSet)
Register registers the command line flags.
Directories ¶
Path | Synopsis |
---|---|
Package internal contains implementation details of loginsessions module.
|
Package internal contains implementation details of loginsessions module. |
assets
Package assets is generated by go.chromium.org/luci/tools/cmd/assets.
|
Package assets is generated by go.chromium.org/luci/tools/cmd/assets. |
statepb
Package statepb contains protos used internally by loginsessions.
|
Package statepb contains protos used internally by loginsessions. |
Click to show internal directories.
Click to hide internal directories.