searching

package
v0.0.0-...-1bb7b75 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CourseQueryType query.Type = "query.searching.courses"

Variables

This section is empty.

Functions

This section is empty.

Types

type CourseQuery

type CourseQuery struct {
}

func NewCourseQuery

func NewCourseQuery() CourseQuery

func (CourseQuery) Type

func (receiver CourseQuery) Type() query.Type

type CourseQueryHandler

type CourseQueryHandler struct {
	// contains filtered or unexported fields
}

func NewCourseQueryHandler

func NewCourseQueryHandler(service CourseService) CourseQueryHandler

func (CourseQueryHandler) Handle

func (receiver CourseQueryHandler) Handle(query query.Query) (interface{}, error)

type CourseService

type CourseService struct {
	// contains filtered or unexported fields
}

func NewCourseService

func NewCourseService(repository domain.CourseRepository) CourseService

func (CourseService) Search

func (receiver CourseService) Search() ([]domain.Course, error)

Jump to

Keyboard shortcuts

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