storage

package
v0.0.0-...-869aafc Latest Latest
Warning

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

Go to latest
Published: May 6, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package storage provides the Chrome Debugging Protocol commands, types, and events for the Storage domain.

Generated by the chromedp-gen command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearDataForOriginParams

type ClearDataForOriginParams struct {
	Origin       string `json:"origin"`       // Security origin.
	StorageTypes string `json:"storageTypes"` // Comma separated origin names.
}

ClearDataForOriginParams clears storage for origin.

func ClearDataForOrigin

func ClearDataForOrigin(origin string, storageTypes string) *ClearDataForOriginParams

ClearDataForOrigin clears storage for origin.

parameters:

origin - Security origin.
storageTypes - Comma separated origin names.

func (*ClearDataForOriginParams) Do

Do executes Storage.clearDataForOrigin against the provided context and target handler.

func (ClearDataForOriginParams) MarshalEasyJSON

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

MarshalEasyJSON supports easyjson.Marshaler interface

func (ClearDataForOriginParams) MarshalJSON

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

MarshalJSON supports json.Marshaler interface

func (*ClearDataForOriginParams) UnmarshalEasyJSON

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

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ClearDataForOriginParams) UnmarshalJSON

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

UnmarshalJSON supports json.Unmarshaler interface

type Type

type Type string

Type enum of possible storage types.

const (
	TypeAppcache       Type = "appcache"
	TypeCookies        Type = "cookies"
	TypeFileSystems    Type = "file_systems"
	TypeIndexeddb      Type = "indexeddb"
	TypeLocalStorage   Type = "local_storage"
	TypeShaderCache    Type = "shader_cache"
	TypeWebsql         Type = "websql"
	TypeServiceWorkers Type = "service_workers"
	TypeCacheStorage   Type = "cache_storage"
	TypeAll            Type = "all"
)

Type values.

func (Type) MarshalEasyJSON

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

MarshalEasyJSON satisfies easyjson.Marshaler.

func (Type) MarshalJSON

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

MarshalJSON satisfies json.Marshaler.

func (Type) String

func (t Type) String() string

String returns the Type as string value.

func (*Type) UnmarshalEasyJSON

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

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*Type) UnmarshalJSON

func (t *Type) 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