luci: Index | Files | Directories

package endpoints

import ""


Package Files

projectBoundMessage.go util.go

func MinDuration Uses

func MinDuration(candidates ...*duration.Duration) (exp time.Duration)

MinDuration selects the smallest duration that is > 0 from a set of duration.Duration protobufs.

If none of the supplied Durations are > 0, 0 will be returned.

type ProjectBoundMessage Uses

type ProjectBoundMessage interface {
    // GetMessageProject returns the Project to which this message is bound.
    GetMessageProject() string

ProjectBoundMessage describes an object that is bound to a Project namespace.

This is intended to be implemented by project-bound protobufs.



Package endpoints imports 3 packages (graph) and is imported by 6 packages. Updated 2021-01-21. Refresh now. Tools for package owners.