eduserver

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddInternalRoutes

func AddInternalRoutes(internalMux *mux.Router, inputAPI api.EDUServerInputAPI)

AddInternalRoutes registers HTTP handlers for the internal API. Invokes functions on the given input API.

func NewInternalAPI

func NewInternalAPI(
	base *setup.BaseDendrite,
	eduCache *cache.EDUCache,
	userAPI userapi.UserInternalAPI,
) api.EDUServerInputAPI

NewInternalAPI returns a concerete implementation of the internal API. Callers can call functions directly on the returned API or via an HTTP interface using AddInternalRoutes.

Types

This section is empty.

Directories

Path Synopsis
Package api provides the types that are used to communicate with the typing server.
Package api provides the types that are used to communicate with the typing server.

Jump to

Keyboard shortcuts

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