graphql

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryResolver

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

func NewQueryResolver

func NewQueryResolver(uc rtbsource.Usecase) *QueryResolver

func (*QueryResolver) Approve

func (r *QueryResolver) Approve(ctx context.Context, id uint64, msg *string) (*qmodels.RTBSourcePayload, error)

Approve RTBSource is the resolver for the approveRTBSource field.

func (*QueryResolver) Create

Create RTBSource is the resolver for the createRTBSource field.

func (*QueryResolver) Delete

func (r *QueryResolver) Delete(ctx context.Context, id uint64, msg *string) (*qmodels.RTBSourcePayload, error)

Delete RTBSource is the resolver for the deleteRTBSource field.

func (*QueryResolver) Get

Get RTBSource is the resolver for the RTBSource field.

func (*QueryResolver) List

List RTBSources is the resolver for the listRTBSources field.

func (*QueryResolver) Pause

PauseRTBSource is the resolver for the pauseRTBSource field.

func (*QueryResolver) Reject

func (r *QueryResolver) Reject(ctx context.Context, id uint64, msg *string) (*qmodels.RTBSourcePayload, error)

Reject RTBSource is the resolver for the rejectRTBSource field.

func (*QueryResolver) Run

Run RTBSource is the resolver for the runRTBSource field.

func (*QueryResolver) Update

Update RTBSource is the resolver for the updateRTBSource field.

Jump to

Keyboard shortcuts

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