client

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadRequest       = &SClientError{"bad request"}
	ErrDecodeResponse   = &SClientError{"decode response"}
	ErrInvalidHexFormat = &SClientError{"invalid hex format"}
	ErrInvalidPublicKey = &SClientError{"invalid public key"}
	ErrInvalidTitle     = &SClientError{"invalid title"}
)

Functions

This section is empty.

Types

type IBuilder added in v1.7.1

type IBuilder interface {
	Friend(string, asymmetric.IPubKey) *hls_settings.SFriend
}

func NewBuilder added in v1.7.1

func NewBuilder() IBuilder

type IClient

func NewClient

func NewClient(pBuilder IBuilder, pRequester IRequester) IClient

type SClientError

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

func (*SClientError) Error

func (err *SClientError) Error() string

Jump to

Keyboard shortcuts

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