companyhttp

package
v0.0.0-...-945c817 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCompanyHandler

func NewCompanyHandler(m *mux.Router, uc company.Usecase, sanitizer *bluemonday.Policy, logger *zap.SugaredLogger, sessionStore sessions.Store)

Types

type CompanyHandler

type CompanyHandler struct {
	CompanyUsecase company.Usecase
	// contains filtered or unexported fields
}

func (*CompanyHandler) HandleEditCompany

func (h *CompanyHandler) HandleEditCompany(w http.ResponseWriter, r *http.Request)

func (*CompanyHandler) HandleGetCompany

func (h *CompanyHandler) HandleGetCompany(w http.ResponseWriter, r *http.Request)

type ResponseError

type ResponseError struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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