Documentation ¶
Index ¶
- Constants
- type HerculesClient
- func (a *HerculesClient) GetHostDiskInfo(ctx context.Context) (*disk.UsageStat, error)
- func (a *HerculesClient) GetHostMemInfo(ctx context.Context) (*mem.VirtualMemoryStat, error)
- func (a *HerculesClient) ImportKeystores(ctx context.Context, rr aegis.ImportValidatorsRequest) error
- func (a *HerculesClient) Kill(ctx context.Context, rr RoutineRequest) error
- func (a *HerculesClient) Resume(ctx context.Context, rr RoutineRequest) error
- func (a *HerculesClient) Suspend(ctx context.Context, rr RoutineRequest) error
- func (a *HerculesClient) VerifyEthSignatureBLS(ctx context.Context, rr hercules_ethereum.EthereumBLSKeyVerificationRequests) (aegis_inmemdbs.EthereumBLSKeySignatureResponses, error)
- type RoutineRequest
- type RoutineResp
Constants ¶
View Source
const ZeusEndpoint = "https://api.zeus.fyi"
View Source
const ZeusLocalEndpoint = "http://localhost:9003"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HerculesClient ¶
type HerculesClient struct {
zeus_client.ZeusClient
}
func NewDefaultHerculesClient ¶
func NewDefaultHerculesClient(bearer string) HerculesClient
func NewHerculesClient ¶
func NewHerculesClient(baseURL, bearer string) HerculesClient
func NewLocalHerculesClient ¶
func NewLocalHerculesClient(bearer string) HerculesClient
func (*HerculesClient) GetHostDiskInfo ¶
func (*HerculesClient) GetHostMemInfo ¶
func (a *HerculesClient) GetHostMemInfo(ctx context.Context) (*mem.VirtualMemoryStat, error)
func (*HerculesClient) ImportKeystores ¶
func (a *HerculesClient) ImportKeystores(ctx context.Context, rr aegis.ImportValidatorsRequest) error
func (*HerculesClient) Kill ¶
func (a *HerculesClient) Kill(ctx context.Context, rr RoutineRequest) error
func (*HerculesClient) Resume ¶
func (a *HerculesClient) Resume(ctx context.Context, rr RoutineRequest) error
func (*HerculesClient) Suspend ¶
func (a *HerculesClient) Suspend(ctx context.Context, rr RoutineRequest) error
func (*HerculesClient) VerifyEthSignatureBLS ¶
func (a *HerculesClient) VerifyEthSignatureBLS(ctx context.Context, rr hercules_ethereum.EthereumBLSKeyVerificationRequests) (aegis_inmemdbs.EthereumBLSKeySignatureResponses, error)
type RoutineRequest ¶
type RoutineRequest struct {
ClientName string `json:"clientName"`
}
type RoutineResp ¶
type RoutineResp struct {
Status string `json:"status"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.