Documentation
¶
Index ¶
- type PeopleHandler
- func (h *PeopleHandler) G2GCheck() gtg.Status
- func (h *PeopleHandler) GetCount(writer http.ResponseWriter, req *http.Request)
- func (h *PeopleHandler) GetPeople(writer http.ResponseWriter, req *http.Request)
- func (h *PeopleHandler) GetPeopleUUIDs(writer http.ResponseWriter, req *http.Request)
- func (h *PeopleHandler) GetPersonByUUID(writer http.ResponseWriter, req *http.Request)
- func (h *PeopleHandler) HealthCheck() v1a.Check
- func (h *PeopleHandler) OnlyGetAllowed(writer http.ResponseWriter, req *http.Request)
- func (h *PeopleHandler) OnlyPostAllowed(writer http.ResponseWriter, req *http.Request)
- func (h *PeopleHandler) Reload(writer http.ResponseWriter, req *http.Request)
- type PeopleService
- type PersonTransformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeopleHandler ¶
type PeopleHandler struct {
// contains filtered or unexported fields
}
func NewPeopleHandler ¶
func NewPeopleHandler(service PeopleService) PeopleHandler
func (*PeopleHandler) G2GCheck ¶
func (h *PeopleHandler) G2GCheck() gtg.Status
func (*PeopleHandler) GetCount ¶
func (h *PeopleHandler) GetCount(writer http.ResponseWriter, req *http.Request)
func (*PeopleHandler) GetPeople ¶
func (h *PeopleHandler) GetPeople(writer http.ResponseWriter, req *http.Request)
func (*PeopleHandler) GetPeopleUUIDs ¶
func (h *PeopleHandler) GetPeopleUUIDs(writer http.ResponseWriter, req *http.Request)
func (*PeopleHandler) GetPersonByUUID ¶
func (h *PeopleHandler) GetPersonByUUID(writer http.ResponseWriter, req *http.Request)
func (*PeopleHandler) HealthCheck ¶
func (h *PeopleHandler) HealthCheck() v1a.Check
func (*PeopleHandler) OnlyGetAllowed ¶
func (h *PeopleHandler) OnlyGetAllowed(writer http.ResponseWriter, req *http.Request)
OnlyGetAllowed - Used to tell the user the METHOD type is not GET.
func (*PeopleHandler) OnlyPostAllowed ¶
func (h *PeopleHandler) OnlyPostAllowed(writer http.ResponseWriter, req *http.Request)
OnlyPostAllowed - Used to tell the user the METHOD type is not POST.
func (*PeopleHandler) Reload ¶
func (h *PeopleHandler) Reload(writer http.ResponseWriter, req *http.Request)
type PeopleService ¶
type PeopleService interface {
Shutdown() error
// contains filtered or unexported methods
}
func NewPeopleService ¶
func NewPeopleService(repo tmereader.Repository, baseURL string, taxonomyName string, maxTmeRecords int, cacheFileName string) PeopleService
type PersonTransformer ¶
type PersonTransformer struct {
}
func (*PersonTransformer) UnMarshallTaxonomy ¶
func (*PersonTransformer) UnMarshallTaxonomy(contents []byte) ([]interface{}, error)
func (*PersonTransformer) UnMarshallTerm ¶
func (*PersonTransformer) UnMarshallTerm(content []byte) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.