Documentation ¶
Index ¶
- func HexSliceToBytesSlice(sl []*Hex) [][]byte
- type AuthenticateRequest
- type AuthenticateResponse
- type BlockFormat
- type ColDiff
- type Commit
- type CommitResponse
- type DiffResponse
- 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 Commit ¶ added in v0.4.0
type Commit struct { 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 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.