Documentation ¶
Overview ¶
Package rest exposes a REST API to aggregate data from various services.
This package is used to provide info about a given user to another authenticated user.
Index ¶
- type GraphHandler
- func (h *GraphHandler) Filter() func(string) string
- func (h *GraphHandler) Recommend(req *restful.Request, rsp *restful.Response)
- func (h *GraphHandler) Relation(req *restful.Request, rsp *restful.Response)
- func (h *GraphHandler) SwaggerTags() []string
- func (h *GraphHandler) UserState(req *restful.Request, rsp *restful.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 ¶ added in v4.0.1
func (h *GraphHandler) Recommend(req *restful.Request, rsp *restful.Response)
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)
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
Click to show internal directories.
Click to hide internal directories.