Back to

Package endpoints

Latest Go to latest

The latest major version is .

Published: Aug 1, 2020 | License: Apache-2.0 | Module:


func MinDuration

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

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 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