Documentation ¶
Overview ¶
Package rest exposes a Rest service for querying activities feed
Index ¶
- type ActivityHandler
- func (a *ActivityHandler) Filter() func(string) string
- func (a *ActivityHandler) FilterActivity(ctx context.Context, workspaces map[string]*idm.Workspace, ac *activity.Object) bool
- func (a *ActivityHandler) SearchSubscriptions(req *restful.Request, rsp *restful.Response)
- func (a *ActivityHandler) Stream(req *restful.Request, rsp *restful.Response)
- func (a *ActivityHandler) Subscribe(req *restful.Request, rsp *restful.Response)
- func (a *ActivityHandler) SwaggerTags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityHandler ¶
type ActivityHandler struct {
// contains filtered or unexported fields
}
func NewActivityHandler ¶
func NewActivityHandler() *ActivityHandler
func (*ActivityHandler) Filter ¶
func (a *ActivityHandler) Filter() func(string) string
Filter returns a function to filter the swagger path
func (*ActivityHandler) FilterActivity ¶
func (*ActivityHandler) SearchSubscriptions ¶
func (a *ActivityHandler) SearchSubscriptions(req *restful.Request, rsp *restful.Response)
func (*ActivityHandler) Stream ¶
func (a *ActivityHandler) Stream(req *restful.Request, rsp *restful.Response)
func (*ActivityHandler) Subscribe ¶
func (a *ActivityHandler) Subscribe(req *restful.Request, rsp *restful.Response)
func (*ActivityHandler) SwaggerTags ¶
func (a *ActivityHandler) 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.