Versions in this module Expand all Collapse all v0 v0.1.2 Feb 9, 2024 v0.1.1 Feb 9, 2024 Changes in this version + func CreateCalendarItem(ctx context.Context, c Client, ci ...req.CalendarItem) error + func CreateMessageItem(ctx context.Context, c Client, m ...req.Message) error + func FindFolder(ctx context.Context, c Client, request *req.FindFolderRequest, ...) + func FindItem(ctx context.Context, c Client, request *req.FindItemRequest, ...) + func GetFolder(ctx context.Context, c Client, r *req.GetFolderRequest) (*resp.Folder, error) + func GetItem(ctx context.Context, c Client, r *req.GetItemRequest) (*resp.Item, error) + func NewClient(config Config) *client + func NewError(resp *http.Response) error + func SetReadFlagRequest(id common.ItemId, flag bool) interface + func SyncFolderHierarchy(ctx context.Context, c Client, request *req.SyncFolderHierarchyRequest, ...) + func SyncFolderItems(ctx context.Context, c Client, request *req.SyncFolderItemsRequest, ...) + func UpdateItem(ctx context.Context, c Client, request interface{}) error + type Client interface + Do func(ctx context.Context, request interface{}) (*resp.Envelope, error) + Endpoint func() string + Status func() error + Username func() string + type Config struct + Debug bool + Endpoint string + Token string + Username string + type FolderChunk struct + Err error + Folders []resp.Folder + type HTTPError struct + Status string + StatusCode int + func (s HTTPError) Error() string + type ItemsChunk struct + Err error + Items resp.Items + type SoapError struct + Fault *resp.Fault + func (s SoapError) Error() string + type SyncChunk struct + Chunk *resp.ItemChanges + Err error + State *common.SyncState + type SyncHierarchy struct + Chunk *resp.FolderChanges + Err error + State *common.SyncState