Documentation ¶
Overview ¶
Package varlink implements the Varlink protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCall ¶
type ClientCall struct {
// contains filtered or unexported fields
}
func (*ClientCall) Next ¶
func (cc *ClientCall) Next(out interface{}) error
type ClientError ¶
type ClientError struct { Name string Parameters json.RawMessage }
func (*ClientError) Error ¶
func (err *ClientError) Error() string
type Handler ¶
type Handler interface {
HandleVarlink(call *ServerCall, req *ServerRequest) error
}
type ServerCall ¶
type ServerCall struct {
// contains filtered or unexported fields
}
func (*ServerCall) CloseWithReply ¶
func (call *ServerCall) CloseWithReply(parameters interface{}) error
func (*ServerCall) Reply ¶
func (call *ServerCall) Reply(parameters interface{}) error
type ServerError ¶
type ServerError struct { Name string Parameters interface{} }
func (*ServerError) Error ¶
func (err *ServerError) Error() string
type ServerRequest ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package varlinkdef implements the Varlink interface definition format.
|
Package varlinkdef implements the Varlink interface definition format. |
Click to show internal directories.
Click to hide internal directories.