Documentation ¶
Index ¶
- func HexSliceToBytesSlice(sl []*Hex) [][]byte
- type AuthenticateRequest
- type AuthenticateResponse
- type BlockFormat
- type CSVLocation
- type ColDiff
- type Commit
- type CommitResponse
- type DiffResponse
- type Error
- type GetCommitsResponse
- type GetRefsResponse
- type GetTableResponse
- type Hex
- type ReceivePackRequest
- type ReceivePackResponse
- type RowDiff
- type Table
- type Update
- type UploadPackRequest
- type UploadPackResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HexSliceToBytesSlice ¶
Types ¶
type AuthenticateRequest ¶ added in v0.4.0
type AuthenticateResponse ¶ added in v0.4.0
type AuthenticateResponse struct {
IDToken string `json:"idToken"`
}
type BlockFormat ¶ added in v0.3.11
type BlockFormat string
const ( BlockFormatCSV BlockFormat = "csv" BlockFormatBinary BlockFormat = "binary" )
type CSVLocation ¶ added in v0.4.12
type Commit ¶ added in v0.4.0
type Commit struct { Sum *Hex `json:"sum,omitempty"` AuthorName string `json:"authorName,omitempty"` AuthorEmail string `json:"authorEmail,omitempty"` Message string `json:"message,omitempty"` Table *Table `json:"table,omitempty"` Time time.Time `json:"time,omitempty"` Parents []*Hex `json:"parents,omitempty"` ParentCommits map[string]*Commit `json:"parentCommits,omitempty"` }
type CommitResponse ¶
type DiffResponse ¶
type Error ¶ added in v0.4.12
type Error struct { // Message is always present if there's an error. Otherwise this object // will be empty. Message string `json:"message,omitempty"` // The actual error // CSV appears when the error is a CSV parsing error CSV *CSVLocation `json:"csv,omitempty"` }
type GetCommitsResponse ¶ added in v0.4.0
type GetRefsResponse ¶
type GetTableResponse ¶
type Hex ¶
type Hex [16]byte
func BytesToHex ¶
func (*Hex) MarshalJSON ¶
func (*Hex) UnmarshalJSON ¶
type ReceivePackRequest ¶
type ReceivePackResponse ¶
type UploadPackRequest ¶
type UploadPackResponse ¶
type UploadPackResponse struct {
ACKs []*Hex `json:"acks,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.