rest

package
v5.0.0-...-b98a0e9 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGraphHandler

func NewGraphHandler(ctx context.Context) service.WebHandler

Types

type GraphHandler

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

func (*GraphHandler) Filter

func (h *GraphHandler) Filter() func(string) string

Filter returns a function to filter the swagger path

func (*GraphHandler) Recommend

func (h *GraphHandler) Recommend(req *restful.Request, rsp *restful.Response) error

Recommend computes recommendations for home page by loading activities, bookmarks, and finally workspaces

func (*GraphHandler) Relation

func (h *GraphHandler) Relation(req *restful.Request, rsp *restful.Response) error

Relation computes workspaces shared in common, and teams belonging.

func (*GraphHandler) SwaggerTags

func (h *GraphHandler) SwaggerTags() []string

SwaggerTags list the names of the service tags declared in the swagger json implemented by this service

func (*GraphHandler) UserState

func (h *GraphHandler) UserState(req *restful.Request, rsp *restful.Response) error

UserState is an alias for requests without roleID

Directories

Path Synopsis
Package service exposes a REST API to aggregate data from various services.
Package service exposes a REST API to aggregate data from various services.

Jump to

Keyboard shortcuts

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