hellosrv

package
v0.0.0-...-a6f2505 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConn = errors.New("connection error")
View Source
var ErrInit = errors.New("initialisation error")

Functions

This section is empty.

Types

type Client

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

func New

func New(ctx context.Context, cfg Config) (*Client, error)

func (*Client) Check

func (s *Client) Check() error

func (*Client) Hello

func (s *Client) Hello(name string) (*models.HelloMessage, error)

type Config

type Config struct {
	Target string
}

Jump to

Keyboard shortcuts

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