server: Remove most of V2 API

This commit is contained in:
Marek Siarkowicz
2022-01-25 14:46:21 +01:00
parent 37879eb5f9
commit 692b3c4cd7
24 changed files with 39 additions and 6612 deletions

View File

@ -125,10 +125,6 @@ type Error struct {
Index uint64 `json:"index"`
}
func NewRequestError(errorCode int, cause string) *Error {
return NewError(errorCode, cause, 0)
}
func NewError(errorCode int, cause string, index uint64) *Error {
return &Error{
ErrorCode: errorCode,