Documentation
¶
Index ¶
- func AccsessLog(h http.Handler) http.Handler
- func Cors(h http.Handler) http.Handler
- func JSONApi(h http.Handler) http.Handler
- func OktaAuth(h http.Handler) http.Handler
- func UseMiddlewares(h http.Handler) http.Handler
- type Service
- func (s Service) Create(w http.ResponseWriter, r *http.Request, params httprouter.Params)
- func (s Service) Delete(w http.ResponseWriter, r *http.Request, params httprouter.Params)
- func (s Service) Index(w http.ResponseWriter, r *http.Request, params httprouter.Params)
- func (s Service) Update(w http.ResponseWriter, r *http.Request, params httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
func New ¶
func New(repo core.Repository) Service
func (Service) Create ¶
func (s Service) Create(w http.ResponseWriter, r *http.Request, params httprouter.Params)
func (Service) Delete ¶
func (s Service) Delete(w http.ResponseWriter, r *http.Request, params httprouter.Params)
func (Service) Index ¶
func (s Service) Index(w http.ResponseWriter, r *http.Request, params httprouter.Params)
func (Service) Update ¶
func (s Service) Update(w http.ResponseWriter, r *http.Request, params httprouter.Params)
Click to show internal directories.
Click to hide internal directories.