Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { GetInfo(*GetInfoIn) (*GetInfoOut, error) GetInterfaceDescription(*GetInterfaceDescriptionIn) (*GetInterfaceDescriptionOut, error) }
type Client ¶
func (Client) GetInterfaceDescription ¶
func (c Client) GetInterfaceDescription(in *GetInterfaceDescriptionIn) (*GetInterfaceDescriptionOut, error)
type ExpectedMoreError ¶
type ExpectedMoreError struct{}
func (*ExpectedMoreError) Error ¶
func (err *ExpectedMoreError) Error() string
type GetInfoOut ¶
type GetInterfaceDescriptionIn ¶
type GetInterfaceDescriptionIn struct {
Interface string `json:"interface"`
}
type GetInterfaceDescriptionOut ¶
type GetInterfaceDescriptionOut struct {
Description string `json:"description"`
}
type Handler ¶
type Handler struct {
Backend Backend
}
func (Handler) HandleVarlink ¶
func (h Handler) HandleVarlink(call *govarlink.ServerCall, req *govarlink.ServerRequest) error
type InterfaceNotFoundError ¶
type InterfaceNotFoundError struct {
Interface string `json:"interface"`
}
func (*InterfaceNotFoundError) Error ¶
func (err *InterfaceNotFoundError) Error() string
type InvalidParameterError ¶
type InvalidParameterError struct {
Parameter string `json:"parameter"`
}
func (*InvalidParameterError) Error ¶
func (err *InvalidParameterError) Error() string
type MethodNotFoundError ¶
type MethodNotFoundError struct {
Method string `json:"method"`
}
func (*MethodNotFoundError) Error ¶
func (err *MethodNotFoundError) Error() string
type MethodNotImplementedError ¶
type MethodNotImplementedError struct {
Method string `json:"method"`
}
func (*MethodNotImplementedError) Error ¶
func (err *MethodNotImplementedError) Error() string
type PermissionDeniedError ¶
type PermissionDeniedError struct{}
func (*PermissionDeniedError) Error ¶
func (err *PermissionDeniedError) Error() string
Click to show internal directories.
Click to hide internal directories.