Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Client

type Client struct {
	Logger  zerolog.Logger
	Client  *hrobot.Client
	Backend backend.Backend

	Spec Spec
	// contains filtered or unexported fields
}

func (*Client) ID

func (c *Client) ID() string

type Spec

type Spec struct {
	// Optional
	Timeout int64 `json:"timeout_secs,omitempty"`
}

func (*Spec) SetDefaults

func (s *Spec) SetDefaults()

func (Spec) Validate

func (Spec) Validate() error

Jump to

Keyboard shortcuts

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