Documentation ¶
Index ¶
Constants ¶
View Source
const (
MemberParamId = "user-id"
)
View Source
const ParamId = "project-id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemberFunction ¶
type ProjectEntity ¶
type ProjectEntity struct {
Name string `json:"name"`
}
type ProjectFunction ¶
type ProjectService ¶
type ProjectService struct { *services.BaseService // contains filtered or unexported fields }
func New ¶
func New(base *services.BaseService) *ProjectService
func (*ProjectService) Register ¶
func (s *ProjectService) Register(container *restful.Container)
func (*ProjectService) RegisterMembers ¶
func (s *ProjectService) RegisterMembers(ws *restful.WebService)
func (*ProjectService) TakeMember ¶
func (s *ProjectService) TakeMember(fn MemberFunction) ProjectFunction
Decorate ScanFunction. Look for session in scan by SessionParamId and add session object in the end. If session is not found then return Not Found.
func (*ProjectService) TakeProject ¶
func (s *ProjectService) TakeProject(fn ProjectFunction) restful.RouteFunction
Click to show internal directories.
Click to hide internal directories.