Documentation
¶
Index ¶
- Variables
- func EncodeMethodCall(method string, args ...interface{}) ([]byte, error)
- func HandleMethodCall(data []byte, mcp MethodCallParser) (response []byte, err error)
- func NewRequest(url string, method string, args interface{}) (*http.Request, error)
- type Base64
- type Client
- type FaultError
- type MethodCallParser
- type MethodCallParserCB
- type Response
- type TypeMismatchError
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func EncodeMethodCall ¶
func HandleMethodCall ¶
func HandleMethodCall(data []byte, mcp MethodCallParser) (response []byte, err error)
Types ¶
type FaultError ¶
FaultError is returned from the server when an invalid call is made
type MethodCallParser ¶
type MethodCallParser interface {
ParseMethodCall(methodName string, cb MethodCallParserCB) (err error)
}
type MethodCallParserCB ¶
type TypeMismatchError ¶
type TypeMismatchError string
func (TypeMismatchError) Error ¶
func (e TypeMismatchError) Error() string
Click to show internal directories.
Click to hide internal directories.