-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e818375
commit 17aa663
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
package rpc | ||
|
||
import ( | ||
"github.com/samber/mo" | ||
) | ||
|
||
// GetNetworkInfoOptions options for the get_network_info rpc calls | ||
type GetNetworkInfoOptions struct {} | ||
|
||
// GetNetworkInfoResponse common get_network_info response from all RPC services | ||
type GetNetworkInfoResponse struct { | ||
Response | ||
NetworkName string `json:"network_name"` | ||
NetworkPrefix string `json:"network_prefix"` | ||
NetworkName mo.Option[string] `json:"network_name"` | ||
NetworkPrefix mo.Option[string] `json:"network_prefix"` | ||
} |