Skip to content

Commit

Permalink
Fix failing linter
Browse files Browse the repository at this point in the history
Signed-off-by: nyagamunene <[email protected]>
  • Loading branch information
nyagamunene committed Oct 3, 2024
1 parent 7efccc9 commit a401a5d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions api/http/responses.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,24 +75,6 @@ func (res requestCertDownloadTokenRes) Empty() bool {
return false
}

type downloadCertRes struct {
Certificate []byte `json:"certificate"`
PrivateKey []byte `json:"private_key"`
CA []byte `json:"ca"`
}

func (res downloadCertRes) Code() int {
return http.StatusOK
}

func (res downloadCertRes) Headers() map[string]string {
return map[string]string{}
}

func (res downloadCertRes) Empty() bool {
return false
}

type issueCertRes struct {
SerialNumber string `json:"serial_number"`
Certificate string `json:"certificate,omitempty"`
Expand Down

0 comments on commit a401a5d

Please sign in to comment.