serviceworker

package
v0.0.0-...-418ac89 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package serviceworker provides the Chrome DevTools Protocol commands, types, and events for the ServiceWorker domain.

Generated by the cdproto-gen command.

Index

Constants

View Source
const (
	CommandDeliverPushMessage       = "ServiceWorker.deliverPushMessage"
	CommandDisable                  = "ServiceWorker.disable"
	CommandDispatchSyncEvent        = "ServiceWorker.dispatchSyncEvent"
	CommandEnable                   = "ServiceWorker.enable"
	CommandInspectWorker            = "ServiceWorker.inspectWorker"
	CommandSetForceUpdateOnPageLoad = "ServiceWorker.setForceUpdateOnPageLoad"
	CommandSkipWaiting              = "ServiceWorker.skipWaiting"
	CommandStartWorker              = "ServiceWorker.startWorker"
	CommandStopAllWorkers           = "ServiceWorker.stopAllWorkers"
	CommandStopWorker               = "ServiceWorker.stopWorker"
	CommandUnregister               = "ServiceWorker.unregister"
	CommandUpdateRegistration       = "ServiceWorker.updateRegistration"
)

Command names.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliverPushMessageParams

type DeliverPushMessageParams struct {
	Origin         string `json:"origin"`
	RegistrationID string `json:"registrationId"`
	Data           string `json:"data"`
}

DeliverPushMessageParams [no description].

func DeliverPushMessage

func DeliverPushMessage(origin string, registrationID string, data string) *DeliverPushMessageParams

DeliverPushMessage [no description].

parameters:

origin
registrationID
data

func (*DeliverPushMessageParams) Do

Do executes ServiceWorker.deliverPushMessage against the provided context.

func (DeliverPushMessageParams) MarshalEasyJSON

func (v DeliverPushMessageParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DeliverPushMessageParams) MarshalJSON

func (v DeliverPushMessageParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DeliverPushMessageParams) UnmarshalEasyJSON

func (v *DeliverPushMessageParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DeliverPushMessageParams) UnmarshalJSON

func (v *DeliverPushMessageParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type DisableParams

type DisableParams struct{}

DisableParams [no description].

func Disable

func Disable() *DisableParams

Disable [no description].

func (*DisableParams) Do

func (p *DisableParams) Do(ctxt context.Context, h cdp.Executor) (err error)

Do executes ServiceWorker.disable against the provided context.

func (DisableParams) MarshalEasyJSON

func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DisableParams) MarshalJSON

func (v DisableParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DisableParams) UnmarshalEasyJSON

func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DisableParams) UnmarshalJSON

func (v *DisableParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type DispatchSyncEventParams

type DispatchSyncEventParams struct {
	Origin         string `json:"origin"`
	RegistrationID string `json:"registrationId"`
	Tag            string `json:"tag"`
	LastChance     bool   `json:"lastChance"`
}

DispatchSyncEventParams [no description].

func DispatchSyncEvent

func DispatchSyncEvent(origin string, registrationID string, tag string, lastChance bool) *DispatchSyncEventParams

DispatchSyncEvent [no description].

parameters:

origin
registrationID
tag
lastChance

func (*DispatchSyncEventParams) Do

Do executes ServiceWorker.dispatchSyncEvent against the provided context.

func (DispatchSyncEventParams) MarshalEasyJSON

func (v DispatchSyncEventParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DispatchSyncEventParams) MarshalJSON

func (v DispatchSyncEventParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DispatchSyncEventParams) UnmarshalEasyJSON

func (v *DispatchSyncEventParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DispatchSyncEventParams) UnmarshalJSON

func (v *DispatchSyncEventParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EnableParams

type EnableParams struct{}

EnableParams [no description].

func Enable

func Enable() *EnableParams

Enable [no description].

func (*EnableParams) Do

func (p *EnableParams) Do(ctxt context.Context, h cdp.Executor) (err error)

Do executes ServiceWorker.enable against the provided context.

func (EnableParams) MarshalEasyJSON

func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EnableParams) MarshalJSON

func (v EnableParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EnableParams) UnmarshalEasyJSON

func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EnableParams) UnmarshalJSON

func (v *EnableParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ErrorMessage

type ErrorMessage struct {
	ErrorMessage   string `json:"errorMessage"`
	RegistrationID string `json:"registrationId"`
	VersionID      string `json:"versionId"`
	SourceURL      string `json:"sourceURL"`
	LineNumber     int64  `json:"lineNumber"`
	ColumnNumber   int64  `json:"columnNumber"`
}

ErrorMessage serviceWorker error message.

func (ErrorMessage) MarshalEasyJSON

func (v ErrorMessage) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ErrorMessage) MarshalJSON

func (v ErrorMessage) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ErrorMessage) UnmarshalEasyJSON

func (v *ErrorMessage) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ErrorMessage) UnmarshalJSON

func (v *ErrorMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventWorkerErrorReported

type EventWorkerErrorReported struct {
	ErrorMessage *ErrorMessage `json:"errorMessage"`
}

EventWorkerErrorReported [no description].

func (EventWorkerErrorReported) MarshalEasyJSON

func (v EventWorkerErrorReported) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventWorkerErrorReported) MarshalJSON

func (v EventWorkerErrorReported) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventWorkerErrorReported) UnmarshalEasyJSON

func (v *EventWorkerErrorReported) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventWorkerErrorReported) UnmarshalJSON

func (v *EventWorkerErrorReported) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventWorkerRegistrationUpdated

type EventWorkerRegistrationUpdated struct {
	Registrations []*Registration `json:"registrations"`
}

EventWorkerRegistrationUpdated [no description].

func (EventWorkerRegistrationUpdated) MarshalEasyJSON

func (v EventWorkerRegistrationUpdated) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventWorkerRegistrationUpdated) MarshalJSON

func (v EventWorkerRegistrationUpdated) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventWorkerRegistrationUpdated) UnmarshalEasyJSON

func (v *EventWorkerRegistrationUpdated) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventWorkerRegistrationUpdated) UnmarshalJSON

func (v *EventWorkerRegistrationUpdated) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventWorkerVersionUpdated

type EventWorkerVersionUpdated struct {
	Versions []*Version `json:"versions"`
}

EventWorkerVersionUpdated [no description].

func (EventWorkerVersionUpdated) MarshalEasyJSON

func (v EventWorkerVersionUpdated) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventWorkerVersionUpdated) MarshalJSON

func (v EventWorkerVersionUpdated) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventWorkerVersionUpdated) UnmarshalEasyJSON

func (v *EventWorkerVersionUpdated) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventWorkerVersionUpdated) UnmarshalJSON

func (v *EventWorkerVersionUpdated) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type InspectWorkerParams

type InspectWorkerParams struct {
	VersionID string `json:"versionId"`
}

InspectWorkerParams [no description].

func InspectWorker

func InspectWorker(versionID string) *InspectWorkerParams

InspectWorker [no description].

parameters:

versionID

func (*InspectWorkerParams) Do

func (p *InspectWorkerParams) Do(ctxt context.Context, h cdp.Executor) (err error)

Do executes ServiceWorker.inspectWorker against the provided context.

func (InspectWorkerParams) MarshalEasyJSON

func (v InspectWorkerParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (InspectWorkerParams) MarshalJSON

func (v InspectWorkerParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*InspectWorkerParams) UnmarshalEasyJSON

func (v *InspectWorkerParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*InspectWorkerParams) UnmarshalJSON

func (v *InspectWorkerParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Registration

type Registration struct {
	RegistrationID string `json:"registrationId"`
	ScopeURL       string `json:"scopeURL"`
	IsDeleted      bool   `json:"isDeleted"`
}

Registration serviceWorker registration.

func (Registration) MarshalEasyJSON

func (v Registration) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Registration) MarshalJSON

func (v Registration) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Registration) UnmarshalEasyJSON

func (v *Registration) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Registration) UnmarshalJSON

func (v *Registration) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SetForceUpdateOnPageLoadParams

type SetForceUpdateOnPageLoadParams struct {
	ForceUpdateOnPageLoad bool `json:"forceUpdateOnPageLoad"`
}

SetForceUpdateOnPageLoadParams [no description].

func SetForceUpdateOnPageLoad

func SetForceUpdateOnPageLoad(forceUpdateOnPageLoad bool) *SetForceUpdateOnPageLoadParams

SetForceUpdateOnPageLoad [no description].

parameters:

forceUpdateOnPageLoad

func (*SetForceUpdateOnPageLoadParams) Do

Do executes ServiceWorker.setForceUpdateOnPageLoad against the provided context.

func (SetForceUpdateOnPageLoadParams) MarshalEasyJSON

func (v SetForceUpdateOnPageLoadParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SetForceUpdateOnPageLoadParams) MarshalJSON

func (v SetForceUpdateOnPageLoadParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SetForceUpdateOnPageLoadParams) UnmarshalEasyJSON

func (v *SetForceUpdateOnPageLoadParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SetForceUpdateOnPageLoadParams) UnmarshalJSON

func (v *SetForceUpdateOnPageLoadParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SkipWaitingParams

type SkipWaitingParams struct {
	ScopeURL string `json:"scopeURL"`
}

SkipWaitingParams [no description].

func SkipWaiting

func SkipWaiting(scopeURL string) *SkipWaitingParams

SkipWaiting [no description].

parameters:

scopeURL

func (*SkipWaitingParams) Do

func (p *SkipWaitingParams) Do(ctxt context.Context, h cdp.Executor) (err error)

Do executes ServiceWorker.skipWaiting against the provided context.

func (SkipWaitingParams) MarshalEasyJSON

func (v SkipWaitingParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SkipWaitingParams) MarshalJSON

func (v SkipWaitingParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SkipWaitingParams) UnmarshalEasyJSON

func (v *SkipWaitingParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SkipWaitingParams) UnmarshalJSON

func (v *SkipWaitingParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type StartWorkerParams

type StartWorkerParams struct {
	ScopeURL string `json:"scopeURL"`
}

StartWorkerParams [no description].

func StartWorker

func StartWorker(scopeURL string) *StartWorkerParams

StartWorker [no description].

parameters:

scopeURL

func (*StartWorkerParams) Do

func (p *StartWorkerParams) Do(ctxt context.Context, h cdp.Executor) (err error)

Do executes ServiceWorker.startWorker against the provided context.

func (StartWorkerParams) MarshalEasyJSON

func (v StartWorkerParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (StartWorkerParams) MarshalJSON

func (v StartWorkerParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*StartWorkerParams) UnmarshalEasyJSON

func (v *StartWorkerParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*StartWorkerParams) UnmarshalJSON

func (v *StartWorkerParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type StopAllWorkersParams

type StopAllWorkersParams struct{}

StopAllWorkersParams [no description].

func StopAllWorkers

func StopAllWorkers() *StopAllWorkersParams

StopAllWorkers [no description].

func (*StopAllWorkersParams) Do

func (p *StopAllWorkersParams) Do(ctxt context.Context, h cdp.Executor) (err error)

Do executes ServiceWorker.stopAllWorkers against the provided context.

func (StopAllWorkersParams) MarshalEasyJSON

func (v StopAllWorkersParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (StopAllWorkersParams) MarshalJSON

func (v StopAllWorkersParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*StopAllWorkersParams) UnmarshalEasyJSON

func (v *StopAllWorkersParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*StopAllWorkersParams) UnmarshalJSON

func (v *StopAllWorkersParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type StopWorkerParams

type StopWorkerParams struct {
	VersionID string `json:"versionId"`
}

StopWorkerParams [no description].

func StopWorker

func StopWorker(versionID string) *StopWorkerParams

StopWorker [no description].

parameters:

versionID

func (*StopWorkerParams) Do

func (p *StopWorkerParams) Do(ctxt context.Context, h cdp.Executor) (err error)

Do executes ServiceWorker.stopWorker against the provided context.

func (StopWorkerParams) MarshalEasyJSON

func (v StopWorkerParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (StopWorkerParams) MarshalJSON

func (v StopWorkerParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*StopWorkerParams) UnmarshalEasyJSON

func (v *StopWorkerParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*StopWorkerParams) UnmarshalJSON

func (v *StopWorkerParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UnregisterParams

type UnregisterParams struct {
	ScopeURL string `json:"scopeURL"`
}

UnregisterParams [no description].

func Unregister

func Unregister(scopeURL string) *UnregisterParams

Unregister [no description].

parameters:

scopeURL

func (*UnregisterParams) Do

func (p *UnregisterParams) Do(ctxt context.Context, h cdp.Executor) (err error)

Do executes ServiceWorker.unregister against the provided context.

func (UnregisterParams) MarshalEasyJSON

func (v UnregisterParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UnregisterParams) MarshalJSON

func (v UnregisterParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UnregisterParams) UnmarshalEasyJSON

func (v *UnregisterParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UnregisterParams) UnmarshalJSON

func (v *UnregisterParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UpdateRegistrationParams

type UpdateRegistrationParams struct {
	ScopeURL string `json:"scopeURL"`
}

UpdateRegistrationParams [no description].

func UpdateRegistration

func UpdateRegistration(scopeURL string) *UpdateRegistrationParams

UpdateRegistration [no description].

parameters:

scopeURL

func (*UpdateRegistrationParams) Do

Do executes ServiceWorker.updateRegistration against the provided context.

func (UpdateRegistrationParams) MarshalEasyJSON

func (v UpdateRegistrationParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UpdateRegistrationParams) MarshalJSON

func (v UpdateRegistrationParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UpdateRegistrationParams) UnmarshalEasyJSON

func (v *UpdateRegistrationParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UpdateRegistrationParams) UnmarshalJSON

func (v *UpdateRegistrationParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Version

type Version struct {
	VersionID          string               `json:"versionId"`
	RegistrationID     string               `json:"registrationId"`
	ScriptURL          string               `json:"scriptURL"`
	RunningStatus      VersionRunningStatus `json:"runningStatus"`
	Status             VersionStatus        `json:"status"`
	ScriptLastModified float64              `json:"scriptLastModified,omitempty"` // The Last-Modified header value of the main script.
	ScriptResponseTime float64              `json:"scriptResponseTime,omitempty"` // The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.
	ControlledClients  []target.ID          `json:"controlledClients,omitempty"`
	TargetID           target.ID            `json:"targetId,omitempty"`
}

Version serviceWorker version.

func (Version) MarshalEasyJSON

func (v Version) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Version) MarshalJSON

func (v Version) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Version) UnmarshalEasyJSON

func (v *Version) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Version) UnmarshalJSON

func (v *Version) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type VersionRunningStatus

type VersionRunningStatus string

VersionRunningStatus [no description].

const (
	VersionRunningStatusStopped  VersionRunningStatus = "stopped"
	VersionRunningStatusStarting VersionRunningStatus = "starting"
	VersionRunningStatusRunning  VersionRunningStatus = "running"
	VersionRunningStatusStopping VersionRunningStatus = "stopping"
)

VersionRunningStatus values.

func (VersionRunningStatus) MarshalEasyJSON

func (t VersionRunningStatus) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (VersionRunningStatus) MarshalJSON

func (t VersionRunningStatus) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (VersionRunningStatus) String

func (t VersionRunningStatus) String() string

String returns the VersionRunningStatus as string value.

func (*VersionRunningStatus) UnmarshalEasyJSON

func (t *VersionRunningStatus) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*VersionRunningStatus) UnmarshalJSON

func (t *VersionRunningStatus) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type VersionStatus

type VersionStatus string

VersionStatus [no description].

const (
	VersionStatusNew        VersionStatus = "new"
	VersionStatusInstalling VersionStatus = "installing"
	VersionStatusInstalled  VersionStatus = "installed"
	VersionStatusActivating VersionStatus = "activating"
	VersionStatusActivated  VersionStatus = "activated"
	VersionStatusRedundant  VersionStatus = "redundant"
)

VersionStatus values.

func (VersionStatus) MarshalEasyJSON

func (t VersionStatus) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (VersionStatus) MarshalJSON

func (t VersionStatus) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (VersionStatus) String

func (t VersionStatus) String() string

String returns the VersionStatus as string value.

func (*VersionStatus) UnmarshalEasyJSON

func (t *VersionStatus) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*VersionStatus) UnmarshalJSON

func (t *VersionStatus) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

Jump to

Keyboard shortcuts

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