Skip to content

Commit cad0b97

Browse files
authored
Remove unused AddJSONRequest type (#179)
1 parent 5275cd7 commit cad0b97

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/types/rfc6962.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -493,13 +493,6 @@ func (r *AddChainResponse) ToSignedCertificateTimestamp() (*SignedCertificateTim
493493
return &sct, nil
494494
}
495495

496-
// AddJSONRequest represents the JSON request body sent to the add-json POST method.
497-
// The corresponding response re-uses AddChainResponse.
498-
// This is an experimental addition not covered by RFC6962.
499-
type AddJSONRequest struct {
500-
Data interface{} `json:"data"`
501-
}
502-
503496
// GetSTHResponse represents the JSON response to the get-sth GET method from section 4.3.
504497
type GetSTHResponse struct {
505498
TreeSize uint64 `json:"tree_size"` // Number of certs in the current tree

0 commit comments

Comments
 (0)