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: 31 Imported by: 0

Documentation

Overview

Package server contains the common entrypoint for MILO GAE services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInternalService

func CreateInternalService() *rpc.MiloInternalService

CreateInternalService initialises a new MILO Internal service.

func Main

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

Main implements the common entrypoint for all MILO GAE services.

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

func RegisterCrons

func RegisterCrons(srv *server.Server, service *rpc.MiloInternalService)

func RegisterFrontend

func RegisterFrontend(srv *server.Server)

func RegisterPRPCHandlers

func RegisterPRPCHandlers(srv *server.Server, service *rpc.MiloInternalService)

Types

This section is empty.

Jump to

Keyboard shortcuts

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