Versions in this module Expand all Collapse all v1 v1.4.5 Jul 11, 2021 Changes in this version + func NewService(log logging.Logger, chainManager chains.Manager, httpServer *server.Server) (*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(r *http.Request, args *GetChainAliasesArgs, reply *GetChainAliasesReply) 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) 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 struct + func NewClient(uri string, requestTimeout time.Duration) *Client + func (c *Client) Alias(endpoint, alias string) (bool, error) + func (c *Client) AliasChain(chain, alias string) (bool, error) + func (c *Client) GetChainAliases(chain string) ([]string, error) + func (c *Client) LockProfile() (bool, error) + func (c *Client) MemoryProfile() (bool, error) + func (c *Client) Stacktrace() (bool, error) + func (c *Client) StartCPUProfiler() (bool, error) + func (c *Client) StopCPUProfiler() (bool, error) + type GetChainAliasesArgs struct + Chain string + type GetChainAliasesReply struct + Aliases []string + type Performance struct + func NewDefaultPerformanceService() *Performance + func NewPerformanceService(prefix string) *Performance + func (p *Performance) LockProfile() error + func (p *Performance) MemoryProfile() error + func (p *Performance) StartCPUProfiler() error + func (p *Performance) StopCPUProfiler() error