Documentation ¶
Index ¶
- Constants
- Variables
- func GetPortalVersion(url string) (int, error)
- func MangleObjectWrapper(params map[string]interface{}, name string, className string, ...)
- func ToJSONString(a []byte) string
- type BatchSession
- func (s *BatchSession) Clear()
- func (s BatchSession) Client() *http.Client
- func (s *BatchSession) Invoke(cmd map[string]interface{}) (interface{}, error)
- func (s *BatchSession) InvokeAll() ([]interface{}, error)
- func (s BatchSession) Server() string
- func (s BatchSession) SetAuth(req *http.Request)
- func (s *BatchSession) Upload(cmd map[string]interface{}) (interface{}, error)
- type ObjectWrapper
- type ServerError
- type Session
Constants ¶
View Source
const ( UnknownVersion int = -1 V62 int = 6200 )
Variables ¶
Functions ¶
func GetPortalVersion ¶
func MangleObjectWrapper ¶
func MangleObjectWrapper(params map[string]interface{}, name string, className string, wrapper *ObjectWrapper)
func ToJSONString ¶
Types ¶
type BatchSession ¶
type BatchSession struct {
// contains filtered or unexported fields
}
func NewBatchSession ¶
func NewBatchSession(server string, username string, password string) *BatchSession
func (*BatchSession) Clear ¶
func (s *BatchSession) Clear()
func (*BatchSession) Invoke ¶
func (s *BatchSession) Invoke(cmd map[string]interface{}) (interface{}, error)
func (*BatchSession) InvokeAll ¶
func (s *BatchSession) InvokeAll() ([]interface{}, error)
func (*BatchSession) Upload ¶
func (s *BatchSession) Upload(cmd map[string]interface{}) (interface{}, error)
type ObjectWrapper ¶
type ServerError ¶
type ServerError int
func (ServerError) Error ¶
func (e ServerError) Error() string
Click to show internal directories.
Click to hide internal directories.