 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- Variables
- type TeamRestHandler
- type TeamRestHandlerImpl
- func (impl TeamRestHandlerImpl) DeleteTeam(w http.ResponseWriter, r *http.Request)
- func (impl TeamRestHandlerImpl) FetchAll(w http.ResponseWriter, r *http.Request)
- func (impl TeamRestHandlerImpl) FetchForAutocomplete(w http.ResponseWriter, r *http.Request)
- func (impl TeamRestHandlerImpl) FetchOne(w http.ResponseWriter, r *http.Request)
- func (impl TeamRestHandlerImpl) SaveTeam(w http.ResponseWriter, r *http.Request)
- func (impl TeamRestHandlerImpl) UpdateTeam(w http.ResponseWriter, r *http.Request)
 
- type TeamRouter
- type TeamRouterImpl
Constants ¶
      View Source
      
  
const PROJECT_DELETE_SUCCESS_RESP = "Project deleted successfully."
    Variables ¶
      View Source
      
  
var TeamsWireSet = wire.NewSet( team.NewTeamRepositoryImpl, wire.Bind(new(team.TeamRepository), new(*team.TeamRepositoryImpl)), team.NewTeamServiceImpl, wire.Bind(new(team.TeamService), new(*team.TeamServiceImpl)), NewTeamRestHandlerImpl, wire.Bind(new(TeamRestHandler), new(*TeamRestHandlerImpl)), NewTeamRouterImpl, wire.Bind(new(TeamRouter), new(*TeamRouterImpl)), )
Functions ¶
This section is empty.
Types ¶
type TeamRestHandler ¶
type TeamRestHandler interface {
	SaveTeam(w http.ResponseWriter, r *http.Request)
	FetchAll(w http.ResponseWriter, r *http.Request)
	FetchOne(w http.ResponseWriter, r *http.Request)
	UpdateTeam(w http.ResponseWriter, r *http.Request)
	DeleteTeam(w http.ResponseWriter, r *http.Request)
	FetchForAutocomplete(w http.ResponseWriter, r *http.Request)
}
    type TeamRestHandlerImpl ¶
type TeamRestHandlerImpl struct {
	// contains filtered or unexported fields
}
    func NewTeamRestHandlerImpl ¶
func NewTeamRestHandlerImpl(logger *zap.SugaredLogger, teamService team.TeamService, userService user.UserService, enforcer casbin.Enforcer, validator *validator.Validate, userAuthService user.UserAuthService, deleteService delete2.DeleteService, ) *TeamRestHandlerImpl
func (TeamRestHandlerImpl) DeleteTeam ¶ added in v0.3.15
func (impl TeamRestHandlerImpl) DeleteTeam(w http.ResponseWriter, r *http.Request)
func (TeamRestHandlerImpl) FetchAll ¶
func (impl TeamRestHandlerImpl) FetchAll(w http.ResponseWriter, r *http.Request)
func (TeamRestHandlerImpl) FetchForAutocomplete ¶
func (impl TeamRestHandlerImpl) FetchForAutocomplete(w http.ResponseWriter, r *http.Request)
func (TeamRestHandlerImpl) FetchOne ¶
func (impl TeamRestHandlerImpl) FetchOne(w http.ResponseWriter, r *http.Request)
func (TeamRestHandlerImpl) SaveTeam ¶
func (impl TeamRestHandlerImpl) SaveTeam(w http.ResponseWriter, r *http.Request)
func (TeamRestHandlerImpl) UpdateTeam ¶
func (impl TeamRestHandlerImpl) UpdateTeam(w http.ResponseWriter, r *http.Request)
type TeamRouter ¶
type TeamRouterImpl ¶
type TeamRouterImpl struct {
	// contains filtered or unexported fields
}
    func NewTeamRouterImpl ¶
func NewTeamRouterImpl(teamRestHandler TeamRestHandler) *TeamRouterImpl
func (TeamRouterImpl) InitTeamRouter ¶
func (impl TeamRouterImpl) InitTeamRouter(configRouter *mux.Router)
 Click to show internal directories. 
   Click to hide internal directories.