Versions in this module Expand all Collapse all v0 v0.9.0 Jul 18, 2017 Changes in this version + func NewClient(conn *rpcc.Conn) *domainClient + type AwaitPromiseArgs struct + GeneratePreview *bool + PromiseObjectID RemoteObjectID + ReturnByValue *bool + func NewAwaitPromiseArgs(promiseObjectID RemoteObjectID) *AwaitPromiseArgs + func (a *AwaitPromiseArgs) SetGeneratePreview(generatePreview bool) *AwaitPromiseArgs + func (a *AwaitPromiseArgs) SetReturnByValue(returnByValue bool) *AwaitPromiseArgs + type AwaitPromiseReply struct + ExceptionDetails *ExceptionDetails + Result RemoteObject + type CallArgument struct + ObjectID *RemoteObjectID + UnserializableValue UnserializableValue + Value json.RawMessage + type CallFrame struct + ColumnNumber int + FunctionName string + LineNumber int + ScriptID ScriptID + URL string + type CallFunctionOnArgs struct + Arguments []CallArgument + AwaitPromise *bool + FunctionDeclaration string + GeneratePreview *bool + ObjectID RemoteObjectID + ReturnByValue *bool + Silent *bool + UserGesture *bool + func NewCallFunctionOnArgs(objectID RemoteObjectID, functionDeclaration string) *CallFunctionOnArgs + func (a *CallFunctionOnArgs) SetArguments(arguments []CallArgument) *CallFunctionOnArgs + func (a *CallFunctionOnArgs) SetAwaitPromise(awaitPromise bool) *CallFunctionOnArgs + func (a *CallFunctionOnArgs) SetGeneratePreview(generatePreview bool) *CallFunctionOnArgs + func (a *CallFunctionOnArgs) SetReturnByValue(returnByValue bool) *CallFunctionOnArgs + func (a *CallFunctionOnArgs) SetSilent(silent bool) *CallFunctionOnArgs + func (a *CallFunctionOnArgs) SetUserGesture(userGesture bool) *CallFunctionOnArgs + type CallFunctionOnReply struct + ExceptionDetails *ExceptionDetails + Result RemoteObject + type CompileScriptArgs struct + ExecutionContextID *ExecutionContextID + Expression string + PersistScript bool + SourceURL string + func NewCompileScriptArgs(expression string, sourceURL string, persistScript bool) *CompileScriptArgs + func (a *CompileScriptArgs) SetExecutionContextID(executionContextID ExecutionContextID) *CompileScriptArgs + type CompileScriptReply struct + ExceptionDetails *ExceptionDetails + ScriptID *ScriptID + type ConsoleAPICalledClient interface + Recv func() (*ConsoleAPICalledReply, error) + type ConsoleAPICalledReply struct + Args []RemoteObject + Context *string + ExecutionContextID ExecutionContextID + StackTrace *StackTrace + Timestamp Timestamp + Type string + type CustomPreview struct + BindRemoteObjectFunctionID RemoteObjectID + ConfigObjectID *RemoteObjectID + FormatterObjectID RemoteObjectID + HasBody bool + Header string + type EntryPreview struct + Key *ObjectPreview + Value ObjectPreview + func (r EntryPreview) String() string + type EvaluateArgs struct + AwaitPromise *bool + ContextID *ExecutionContextID + Expression string + GeneratePreview *bool + IncludeCommandLineAPI *bool + ObjectGroup *string + ReturnByValue *bool + Silent *bool + UserGesture *bool + func NewEvaluateArgs(expression string) *EvaluateArgs + func (a *EvaluateArgs) SetAwaitPromise(awaitPromise bool) *EvaluateArgs + func (a *EvaluateArgs) SetContextID(contextID ExecutionContextID) *EvaluateArgs + func (a *EvaluateArgs) SetGeneratePreview(generatePreview bool) *EvaluateArgs + func (a *EvaluateArgs) SetIncludeCommandLineAPI(includeCommandLineAPI bool) *EvaluateArgs + func (a *EvaluateArgs) SetObjectGroup(objectGroup string) *EvaluateArgs + func (a *EvaluateArgs) SetReturnByValue(returnByValue bool) *EvaluateArgs + func (a *EvaluateArgs) SetSilent(silent bool) *EvaluateArgs + func (a *EvaluateArgs) SetUserGesture(userGesture bool) *EvaluateArgs + type EvaluateReply struct + ExceptionDetails *ExceptionDetails + Result RemoteObject + type ExceptionDetails struct + ColumnNumber int + Exception *RemoteObject + ExceptionID int + ExecutionContextID *ExecutionContextID + LineNumber int + ScriptID *ScriptID + StackTrace *StackTrace + Text string + URL *string + func (r ExceptionDetails) Error() string + type ExceptionRevokedClient interface + Recv func() (*ExceptionRevokedReply, error) + type ExceptionRevokedReply struct + ExceptionID int + Reason string + type ExceptionThrownClient interface + Recv func() (*ExceptionThrownReply, error) + type ExceptionThrownReply struct + ExceptionDetails ExceptionDetails + Timestamp Timestamp + type ExecutionContextCreatedClient interface + Recv func() (*ExecutionContextCreatedReply, error) + type ExecutionContextCreatedReply struct + Context ExecutionContextDescription + type ExecutionContextDescription struct + AuxData json.RawMessage + ID ExecutionContextID + Name string + Origin string + type ExecutionContextDestroyedClient interface + Recv func() (*ExecutionContextDestroyedReply, error) + type ExecutionContextDestroyedReply struct + ExecutionContextID ExecutionContextID + type ExecutionContextID int + type ExecutionContextsClearedClient interface + Recv func() (*ExecutionContextsClearedReply, error) + type ExecutionContextsClearedReply struct + type GetPropertiesArgs struct + AccessorPropertiesOnly *bool + GeneratePreview *bool + ObjectID RemoteObjectID + OwnProperties *bool + func NewGetPropertiesArgs(objectID RemoteObjectID) *GetPropertiesArgs + func (a *GetPropertiesArgs) SetAccessorPropertiesOnly(accessorPropertiesOnly bool) *GetPropertiesArgs + func (a *GetPropertiesArgs) SetGeneratePreview(generatePreview bool) *GetPropertiesArgs + func (a *GetPropertiesArgs) SetOwnProperties(ownProperties bool) *GetPropertiesArgs + type GetPropertiesReply struct + ExceptionDetails *ExceptionDetails + InternalProperties []InternalPropertyDescriptor + Result []PropertyDescriptor + type InspectRequestedClient interface + Recv func() (*InspectRequestedReply, error) + type InspectRequestedReply struct + Hints json.RawMessage + Object RemoteObject + type InternalPropertyDescriptor struct + Name string + Value *RemoteObject + type ObjectPreview struct + Description *string + Entries []EntryPreview + Overflow bool + Properties []PropertyPreview + Subtype *string + Type string + func (r ObjectPreview) String() string + type PropertyDescriptor struct + Configurable bool + Enumerable bool + Get *RemoteObject + IsOwn *bool + Name string + Set *RemoteObject + Symbol *RemoteObject + Value *RemoteObject + WasThrown *bool + Writable *bool + type PropertyPreview struct + Name string + Subtype *string + Type string + Value *string + ValuePreview *ObjectPreview + func (r PropertyPreview) String() string + type ReleaseObjectArgs struct + ObjectID RemoteObjectID + func NewReleaseObjectArgs(objectID RemoteObjectID) *ReleaseObjectArgs + type ReleaseObjectGroupArgs struct + ObjectGroup string + func NewReleaseObjectGroupArgs(objectGroup string) *ReleaseObjectGroupArgs + type RemoteObject struct + ClassName *string + CustomPreview *CustomPreview + Description *string + ObjectID *RemoteObjectID + Preview *ObjectPreview + Subtype *string + Type string + UnserializableValue UnserializableValue + Value json.RawMessage + func (r RemoteObject) String() string + type RemoteObjectID string + type RunScriptArgs struct + AwaitPromise *bool + ExecutionContextID *ExecutionContextID + GeneratePreview *bool + IncludeCommandLineAPI *bool + ObjectGroup *string + ReturnByValue *bool + ScriptID ScriptID + Silent *bool + func NewRunScriptArgs(scriptID ScriptID) *RunScriptArgs + func (a *RunScriptArgs) SetAwaitPromise(awaitPromise bool) *RunScriptArgs + func (a *RunScriptArgs) SetExecutionContextID(executionContextID ExecutionContextID) *RunScriptArgs + func (a *RunScriptArgs) SetGeneratePreview(generatePreview bool) *RunScriptArgs + func (a *RunScriptArgs) SetIncludeCommandLineAPI(includeCommandLineAPI bool) *RunScriptArgs + func (a *RunScriptArgs) SetObjectGroup(objectGroup string) *RunScriptArgs + func (a *RunScriptArgs) SetReturnByValue(returnByValue bool) *RunScriptArgs + func (a *RunScriptArgs) SetSilent(silent bool) *RunScriptArgs + type RunScriptReply struct + ExceptionDetails *ExceptionDetails + Result RemoteObject + type ScriptID string + type SetCustomObjectFormatterEnabledArgs struct + Enabled bool + func NewSetCustomObjectFormatterEnabledArgs(enabled bool) *SetCustomObjectFormatterEnabledArgs + type StackTrace struct + CallFrames []CallFrame + Description *string + Parent *StackTrace + PromiseCreationFrame *CallFrame + type Timestamp float64 + func (t *Timestamp) UnmarshalJSON(data []byte) error + func (t Timestamp) MarshalJSON() ([]byte, error) + func (t Timestamp) String() string + func (t Timestamp) Time() time.Time + type UnserializableValue int + const UnserializableValueInfinity + const UnserializableValueNaN + const UnserializableValueNegative0 + const UnserializableValueNegativeInfinity + const UnserializableValueNotSet + func (e *UnserializableValue) UnmarshalJSON(data []byte) error + func (e UnserializableValue) MarshalJSON() ([]byte, error) + func (e UnserializableValue) String() string + func (e UnserializableValue) Valid() bool