Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitQueryHandler ¶
func NewLocalQueryStore ¶
func NewLocalQueryStore() *localQueryStore
Types ¶
type MockQueryHandler ¶
func (*MockQueryHandler) RunCustomQuery ¶
func (mq *MockQueryHandler) RunCustomQuery(query string) (ResultDTO, error)
func (*MockQueryHandler) RunSavedQuery ¶
func (mq *MockQueryHandler) RunSavedQuery(name string) (ResultDTO, error)
type MockQueryStore ¶
func (*MockQueryStore) AddQueries ¶
func (m *MockQueryStore) AddQueries(queries map[string]string)
func (*MockQueryStore) AddQuery ¶
func (m *MockQueryStore) AddQuery(name, query string)
func (*MockQueryStore) HasQuery ¶
func (m *MockQueryStore) HasQuery(name string) bool
type ResultDTO ¶
func (*ResultDTO) UnmarshalArguments ¶
type StdHandler ¶
type StdHandler struct {
// contains filtered or unexported fields
}
func GetQueryHandler ¶
func GetQueryHandler() *StdHandler
func (StdHandler) RunCustomQuery ¶
func (qh StdHandler) RunCustomQuery(query string) (ResultDTO, error)
func (StdHandler) RunSavedQuery ¶
func (qh StdHandler) RunSavedQuery(name string) (ResultDTO, error)
Click to show internal directories.
Click to hide internal directories.