Add a query to list authorities #42

Merged
nabarun merged 4 commits from pm-list-authorities into main 2024-07-24 09:14:40 +00:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 245ce01b37 - Show all commits

View File

@ -13002,7 +13002,7 @@ func (x *QueryWhoisResponse) GetNameAuthority() *NameAuthority {
return nil
}
// QueryWhoisRequest is request type to get all authorities
// QueryAuthoritiesRequest is request type to get all authorities
type QueryAuthoritiesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -13038,7 +13038,7 @@ func (x *QueryAuthoritiesRequest) GetOwner() string {
return ""
}
// QQueryAuthoritiesResponse is response type for authorities request
// QueryAuthoritiesResponse is response type for authorities request
type QueryAuthoritiesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache

View File

@ -157,10 +157,10 @@ message QueryWhoisResponse {
];
}
// QueryWhoisRequest is request type to get all authorities
// QueryAuthoritiesRequest is request type to get all authorities
message QueryAuthoritiesRequest { string owner = 1; }
// QQueryAuthoritiesResponse is response type for authorities request
// QueryAuthoritiesResponse is response type for authorities request
message QueryAuthoritiesResponse {
repeated AuthorityEntry authorities = 1 [ (gogoproto.nullable) = false ];
// pagination defines the pagination in the response.

View File

@ -915,7 +915,7 @@ func (m *QueryWhoisResponse) GetNameAuthority() NameAuthority {
return NameAuthority{}
}
// QueryWhoisRequest is request type to get all authorities
// QueryAuthoritiesRequest is request type to get all authorities
type QueryAuthoritiesRequest struct {
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}
@ -960,7 +960,7 @@ func (m *QueryAuthoritiesRequest) GetOwner() string {
return ""
}
// QQueryAuthoritiesResponse is response type for authorities request
// QueryAuthoritiesResponse is response type for authorities request
type QueryAuthoritiesResponse struct {
Authorities []AuthorityEntry `protobuf:"bytes,1,rep,name=authorities,proto3" json:"authorities"`
// pagination defines the pagination in the response.