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( repository.NewTeamRepositoryImpl, wire.Bind(new(repository.TeamRepository), new(*repository.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)), read.NewTeamReadService, wire.Bind(new(read.TeamReadService), new(*read.TeamReadServiceImpl)), )
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 user2.UserService, enforcer casbin.Enforcer, validator *validator.Validate, userAuthService user2.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.