Documentation
¶
Index ¶
- type Module
- func (m *Module) FieldResolvers() map[string]any
- func (m *Module) GetSalesStats(ctx context.Context) (*SalesStats, error)
- func (m *Module) GetSystemStats(ctx context.Context) (*SystemStats, error)
- func (m *Module) ID() string
- func (m *Module) Init(ctx context.Context, rt mdk.Runtime) error
- func (m *Module) Models() []any
- func (m *Module) Mutations() map[string]any
- func (m *Module) Queries() map[string]any
- func (m *Module) Repo() any
- func (m *Module) Routes() []mdk.Route
- func (m *Module) Shutdown(ctx context.Context) error
- type SalesStats
- type SystemStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module implements the mdk.Module interface for Analytics.
func (*Module) FieldResolvers ¶
func (*Module) GetSalesStats ¶
func (m *Module) GetSalesStats(ctx context.Context) (*SalesStats, error)
func (*Module) GetSystemStats ¶
func (m *Module) GetSystemStats(ctx context.Context) (*SystemStats, error)
type SalesStats ¶
Click to show internal directories.
Click to hide internal directories.