Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrInvalidArg Invalid argument ErrInvalidArg = errors.New("Invalid arguments") //ErrUnknownProtocol Protocol not supproted ErrUnknownProtocol = errors.New("Protocol not supported for this function") //ErrStopRequested Stop action, sent by a client for stopping this server ErrStopRequested = errors.New("Stop is requested by the client") )
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client create this struct for create new HttpClient
type FctService ¶
FctService return Service if supported
type Option ¶
type Option func(opts *Options)
Option option func
func AddServiceOption ¶
func AddServiceOption(fn FctService) Option
AddServiceOption adding service option
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options options structs
Click to show internal directories.
Click to hide internal directories.