endpoints

package
v0.0.0-...-128afb8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MinDuration

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

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

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

Types

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL