scheduler

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(ctx context.Context) error

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(r *hosting.WebServer, opts ...ServerOption) (*Server, error)

func (*Server) Subscribe

func (s *Server) Subscribe(subscription string, handler Handler)

type ServerOption

type ServerOption func(s *Server)

func WithAudience

func WithAudience(audience string) ServerOption

func WithServiceAccount

func WithServiceAccount(serviceAccount string) ServerOption

Jump to

Keyboard shortcuts

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