people

package
v0.0.0-...-807841d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2017 License: MIT Imports: 17 Imported by: 1

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址