Documentation
¶
Index ¶
- type Handler
- func (h *Handler) BlockTypes(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Contacts(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Formfactors(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Modes(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OTypes(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OpModes(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PinStates(w http.ResponseWriter, r *http.Request)
- type ReadInteractor
- func (r *ReadInteractor) GetBlockTypes() ([]string, error)
- func (r *ReadInteractor) GetContacts() ([]string, error)
- func (r *ReadInteractor) GetFormfactors() ([]string, error)
- func (r *ReadInteractor) GetModes() ([]string, error)
- func (r *ReadInteractor) GetOTypes() ([]string, error)
- func (r *ReadInteractor) GetOpModes() ([]string, error)
- func (r *ReadInteractor) GetPinStates() ([]string, error)
- type Repo
- func (r *Repo) BlockTypes() ([]string, error)
- func (r *Repo) Contacts() ([]string, error)
- func (r *Repo) Formfactors() ([]string, error)
- func (r *Repo) Modes() ([]string, error)
- func (r *Repo) OTypes() ([]string, error)
- func (r *Repo) OpModes() ([]string, error)
- func (r *Repo) PinStates() ([]string, error)
- type Repository
- type Usecases
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) BlockTypes ¶
func (h *Handler) BlockTypes(w http.ResponseWriter, r *http.Request)
func (*Handler) Formfactors ¶
func (h *Handler) Formfactors(w http.ResponseWriter, r *http.Request)
type ReadInteractor ¶
type ReadInteractor struct {
// contains filtered or unexported fields
}
func NewReadInteractor ¶
func NewReadInteractor(repo Repository) *ReadInteractor
func (*ReadInteractor) GetBlockTypes ¶
func (r *ReadInteractor) GetBlockTypes() ([]string, error)
func (*ReadInteractor) GetContacts ¶
func (r *ReadInteractor) GetContacts() ([]string, error)
func (*ReadInteractor) GetFormfactors ¶
func (r *ReadInteractor) GetFormfactors() ([]string, error)
func (*ReadInteractor) GetModes ¶
func (r *ReadInteractor) GetModes() ([]string, error)
func (*ReadInteractor) GetOTypes ¶
func (r *ReadInteractor) GetOTypes() ([]string, error)
func (*ReadInteractor) GetOpModes ¶
func (r *ReadInteractor) GetOpModes() ([]string, error)
func (*ReadInteractor) GetPinStates ¶
func (r *ReadInteractor) GetPinStates() ([]string, error)
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func NewSQLRepository ¶
func NewSQLRepository(db sqlutil.SQLDatabase) *Repo
func (*Repo) BlockTypes ¶
func (*Repo) Formfactors ¶
type Repository ¶
Click to show internal directories.
Click to hide internal directories.