File: types.go

package info (click to toggle)
golang-github-chromedp-cdproto 0.0~git20230109.6b041c6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,584 kB
  • sloc: makefile: 2
file content (31 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package database

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

// ID unique identifier of Database object.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Database#type-DatabaseId
type ID string

// String returns the ID as string value.
func (t ID) String() string {
	return string(t)
}

// Database database object.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Database#type-Database
type Database struct {
	ID      ID     `json:"id"`      // Database ID.
	Domain  string `json:"domain"`  // Database domain.
	Name    string `json:"name"`    // Database name.
	Version string `json:"version"` // Database version.
}

// Error database error.
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/Database#type-Error
type Error struct {
	Message string `json:"message"` // Error message.
	Code    int64  `json:"code"`    // Error code.
}