Versions in this module Expand all Collapse all v1 v1.0.0 Jul 21, 2022 Changes in this version + func NewService(config Config) (*common.HTTPHandler, error) + type Admin struct + func (service *Admin) Alias(_ *http.Request, args *AliasArgs, reply *api.SuccessResponse) error + func (service *Admin) AliasChain(_ *http.Request, args *AliasChainArgs, reply *api.SuccessResponse) error + func (service *Admin) GetChainAliases(_ *http.Request, args *GetChainAliasesArgs, reply *GetChainAliasesReply) error + func (service *Admin) GetConfig(_ *http.Request, args *struct{}, reply *interface{}) error + func (service *Admin) GetLoggerLevel(_ *http.Request, args *GetLoggerLevelArgs, reply *GetLoggerLevelReply) error + func (service *Admin) LoadVMs(_ *http.Request, _ *struct{}, reply *LoadVMsReply) error + func (service *Admin) LockProfile(_ *http.Request, _ *struct{}, reply *api.SuccessResponse) error + func (service *Admin) MemoryProfile(_ *http.Request, _ *struct{}, reply *api.SuccessResponse) error + func (service *Admin) SetLoggerLevel(_ *http.Request, args *SetLoggerLevelArgs, reply *api.SuccessResponse) error + func (service *Admin) Stacktrace(_ *http.Request, _ *struct{}, reply *api.SuccessResponse) error + func (service *Admin) StartCPUProfiler(_ *http.Request, _ *struct{}, reply *api.SuccessResponse) error + func (service *Admin) StopCPUProfiler(_ *http.Request, _ *struct{}, reply *api.SuccessResponse) error + type AliasArgs struct + Alias string + Endpoint string + type AliasChainArgs struct + Alias string + Chain string + type Client interface + Alias func(ctx context.Context, endpoint string, alias string, options ...rpc.Option) (bool, error) + AliasChain func(ctx context.Context, chainID string, alias string, options ...rpc.Option) (bool, error) + GetChainAliases func(ctx context.Context, chainID string, options ...rpc.Option) ([]string, error) + GetConfig func(ctx context.Context, options ...rpc.Option) (interface{}, error) + GetLoggerLevel func(ctx context.Context, loggerName string, options ...rpc.Option) (map[string]LogAndDisplayLevels, error) + LoadVMs func(context.Context, ...rpc.Option) (map[ids.ID][]string, map[ids.ID]string, error) + LockProfile func(context.Context, ...rpc.Option) (bool, error) + MemoryProfile func(context.Context, ...rpc.Option) (bool, error) + SetLoggerLevel func(ctx context.Context, loggerName, logLevel, displayLevel string, ...) (bool, error) + Stacktrace func(context.Context, ...rpc.Option) (bool, error) + StartCPUProfiler func(context.Context, ...rpc.Option) (bool, error) + StopCPUProfiler func(context.Context, ...rpc.Option) (bool, error) + func NewClient(uri string) Client + type Config struct + ChainManager chains.Manager + HTTPServer server.PathAdderWithReadLock + Log logging.Logger + LogFactory logging.Factory + NodeConfig interface{} + ProfileDir string + VMManager vms.Manager + VMRegistry registry.VMRegistry + type GetChainAliasesArgs struct + Chain string + type GetChainAliasesReply struct + Aliases []string + type GetLoggerLevelArgs struct + LoggerName string + type GetLoggerLevelReply struct + LoggerLevels map[string]LogAndDisplayLevels + type LoadVMsReply struct + FailedVMs map[ids.ID]string + NewVMs map[ids.ID][]string + type LogAndDisplayLevels struct + DisplayLevel logging.Level + LogLevel logging.Level + type SetLoggerLevelArgs struct + DisplayLevel *logging.Level + LogLevel *logging.Level + LoggerName string v1.0.0-alpha Nov 22, 2022