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: 11 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() *QueryResolver

func (*QueryResolver) Create

Create RTBAccessPoint is the resolver for the createRTBAccessPoint field.

func (*QueryResolver) Delete

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

Delete RTBAccessPoint is the resolver for the deleteRTBAccessPoint field.

func (*QueryResolver) Get

func (r *QueryResolver) Get(ctx context.Context, id uint64, codename string) (*qmodels.AdFormatPayload, error)

Get RTBAccessPoint is the resolver for the RTBAccessPoint field.

func (*QueryResolver) List

List RTBAccessPoints is the resolver for the listRTBAccessPoints field.

func (*QueryResolver) ListByCodes

func (r *QueryResolver) ListByCodes(ctx context.Context, codes []string) ([]*qmodels.AdFormat, error)

ListByCodes returns a list of ad formats by their codes.

func (*QueryResolver) Update

Update RTBAccessPoint is the resolver for the updateRTBAccessPoint field.

Jump to

Keyboard shortcuts

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