server

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package server contains shared server initialisation logic for LUCI Source Index services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(init func(srv *luciserver.Server) error)

Main implements the common entrypoint for all LUCI Source Index GAE services.

Note, if changing responsibiltiy between services, please be aware that dispatch.yaml changes are not deployed atomically with service changes.

func RegisterCronHandlers

func RegisterCronHandlers(srv *luciserver.Server) error

RegisterCronHandlers registers cron handlers.

func RegisterPRPCHandlers

func RegisterPRPCHandlers(srv *luciserver.Server) error

RegisterPRPCHandlers registers pPRC handlers.

func RegisterPubSubHandlers

func RegisterPubSubHandlers(srv *luciserver.Server) error

RegisterPubSubHandlers registers pub/sub handlers.

func RegisterTaskQueueHandlers

func RegisterTaskQueueHandlers(srv *luciserver.Server) error

RegisterTaskQueueHandlers registers task queue handlers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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