host

package
v0.0.0-...-7a62f64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitService

func InitService(ctx context.Context) (service.Host, error)

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) BootTime

func (s *Service) BootTime(ctx context.Context) (uint64, error)

func (*Service) Describe

func (s *Service) Describe(ctx context.Context) (*host.Host, error)

func (*Service) Uptime

func (s *Service) Uptime(ctx context.Context) (uint64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL