hermes

package
v0.0.0-...-475aa62 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

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

func NewConnection

func NewConnection(vin, userToken, vehicleToken string) (*Connection, error)

func (*Connection) Close

func (c *Connection) Close()

func (*Connection) PreferredAuthMethod

func (c *Connection) PreferredAuthMethod() connector.AuthMethod

func (*Connection) Receive

func (c *Connection) Receive() <-chan []byte

func (*Connection) RetryInterval

func (c *Connection) RetryInterval() time.Duration

func (*Connection) Send

func (c *Connection) Send(ctx context.Context, buffer []byte) error

func (*Connection) VIN

func (c *Connection) VIN() string

Jump to

Keyboard shortcuts

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