Documentation
¶
Index ¶
- type ResolverForRange
- func (r *ResolverForRange) AddDashboardRange(ctx context.Context, dashboardID int, rangeArg gqlmodel.InputNamedDateRange) (*gqlmodel.NamedDateRange, error)
- func (r *ResolverForRange) RemoveDashboardRange(ctx context.Context, rangeID int) (*gqlmodel.NamedDateRange, error)
- func (r *ResolverForRange) UpdateDashboardRange(ctx context.Context, rangeID int, rangeArg gqlmodel.InputNamedDateRange) (*gqlmodel.NamedDateRange, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolverForRange ¶
ResolverForRange resolves range specific things.
func (*ResolverForRange) AddDashboardRange ¶
func (r *ResolverForRange) AddDashboardRange(ctx context.Context, dashboardID int, rangeArg gqlmodel.InputNamedDateRange) (*gqlmodel.NamedDateRange, error)
AddDashboardRange adds a dashboard range.
func (*ResolverForRange) RemoveDashboardRange ¶
func (r *ResolverForRange) RemoveDashboardRange(ctx context.Context, rangeID int) (*gqlmodel.NamedDateRange, error)
RemoveDashboardRange removes a dashboard range.
func (*ResolverForRange) UpdateDashboardRange ¶
func (r *ResolverForRange) UpdateDashboardRange(ctx context.Context, rangeID int, rangeArg gqlmodel.InputNamedDateRange) (*gqlmodel.NamedDateRange, error)
UpdateDashboardRange updates a dashboard range.
Click to show internal directories.
Click to hide internal directories.