Add a query to list authorities #42
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user