Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CopyHistorySegmentToFile ¶
type Config ¶
type Config struct { Level encoding.LogLevel `long:"log-level"` Server ServerConfig `group:"Server" namespace:"server"` }
Config represents the configuration of the admin package.
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig creates an instance of the package specific configuration.
type NetworkHistoryAdminService ¶ added in v0.67.0
type NetworkHistoryAdminService struct {
// contains filtered or unexported fields
}
func NewNetworkHistoryAdminService ¶ added in v0.67.0
func NewNetworkHistoryAdminService(networkHistoryService NetworkHistoryService) *NetworkHistoryAdminService
func (*NetworkHistoryAdminService) CopyHistorySegmentToFile ¶ added in v0.67.0
func (d *NetworkHistoryAdminService) CopyHistorySegmentToFile(req *http.Request, args *CopyHistorySegmentToFileArg, reply *CopyHistorySegmentToFileReply) error
func (*NetworkHistoryAdminService) FetchHistorySegment ¶ added in v0.67.0
type NetworkHistoryService ¶ added in v0.67.0
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ReloadConf ¶
ReloadConf update the internal configuration of the server.
type ServerConfig ¶
type ServerConfig struct { SocketPath string `description:"Listen for connection on UNIX socket path <file-path>" long:"socket-path"` HTTPPath string `description:"Http path of the socket HTTP RPC server" long:"http-path"` }
ServerConfig contains the configuration for the admin server.
Click to show internal directories.
Click to hide internal directories.