You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: types.go
    path of file: ./repos/scan4all/vendor/github.com/chromedp/cdproto/backgroundservice
    
    the code of the file until where you have to start completion: package backgroundservice

// Code generated by cdproto-gen. DO NOT EDIT.

import (
	"fmt"

	"github.com/chromedp/cdproto/cdp"
	"github.com/chromedp/cdproto/serviceworker"
	"github.com/mailru/easyjson"
	"github.com/mailru/easyjson/jlexer"
	"github.com/mailru/easyjson/jwriter"
)

// ServiceName the Background Service that will be associated with the
// commands/events. Every Background Service operates independently, but they
// share the same API.
//
// See: https://chromedevtools.github.io/devtools-protocol/
    
func (t *ServiceName) UnmarshalEasyJSON(in *jlexer.Lexer) {
	v := in.String()
	switch ServiceName(v) {
	case ServiceNameBackgroundFetch:
		*t = ServiceNameBackgroundFetch
	case ServiceNameBackgroundSync:
		*t = ServiceNameBackgroundSync
	case ServiceNamePushMessaging:
		*t = ServiceNamePushMessaging
	case ServiceNameNotifications:
		*t = ServiceNameNotifications
	case ServiceNamePaymentHandler:
		*t = ServiceNamePaymentHandler
	case ServiceNamePeriodicBackgroundSync:
		*t = ServiceNamePeriodicBackgroundSync

	default:
		in.AddError(fmt.Errorf("unknown ServiceName value: %v", v))
	}
}