Documentation ¶
Index ¶
- type AlarmTriggerRelationship
- type AlternateTextRepresentation
- type Base
- type CalendarUserTypeKind
- type CalenderUserType
- type CommonName
- type Container
- type Delegatee
- type Delegator
- type DirectoryEntry
- type FormatType
- type FreeBusyTimeType
- type FreeBusyTimeTypeKind
- type InlineEncoding
- type InlineEncodingType
- type Language
- type Membership
- type ParticipationRole
- type ParticipationRoleType
- type ParticipationStatus
- type ParticipationStatusType
- type RSVP
- type RecurrenceIDRange
- type ReferenceTimezone
- type RelationshipType
- type RelationshipTypeKind
- type SentBy
- type TypeName
- type ValueType
- type XParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmTriggerRelationship ¶
type AlarmTriggerRelationship struct {
IsStart bool // value must be START or END, so true means Start
}
func NewAlarmTriggerRelationship ¶
func NewAlarmTriggerRelationship(value string) (*AlarmTriggerRelationship, error)
func (*AlarmTriggerRelationship) String ¶ added in v0.1.0
func (atr *AlarmTriggerRelationship) String() string
type AlternateTextRepresentation ¶
AlternateTextRepresentation is defined in https://tools.ietf.org/html/rfc5545#section-3.2.1
func NewAlternateTextRepresentation ¶
func NewAlternateTextRepresentation(value string) (*AlternateTextRepresentation, error)
func (*AlternateTextRepresentation) String ¶ added in v0.1.0
func (a *AlternateTextRepresentation) String() string
type CalendarUserTypeKind ¶ added in v0.0.2
type CalendarUserTypeKind string
CalendarUserTypeKind is types of calendar https://www.iana.org/assignments/icalendar/icalendar.xhtml#calendar-user-types
const ( CalendarUserTypeKindIndividual CalendarUserTypeKind = "INDIVIDUAL" CalendarUserTypeKindGroup CalendarUserTypeKind = "GROUP" CalendarUserTypeKindResource CalendarUserTypeKind = "RESOURCE" CalendarUserTypeKindRoom CalendarUserTypeKind = "ROOM" CalendarUserTypeKindUnknown CalendarUserTypeKind = "UNKNOWN" CalendarUserTypeKindXToken CalendarUserTypeKind = "XToken" )
type CalenderUserType ¶
type CalenderUserType struct { Type CalendarUserTypeKind Value string }
CalenderUserType is defined in https://tools.ietf.org/html/rfc5545#section-3.2.3
func NewCalenderUserType ¶
func NewCalenderUserType(value string) (*CalenderUserType, error)
func (*CalenderUserType) String ¶ added in v0.1.0
func (cut *CalenderUserType) String() string
type CommonName ¶
CommonName is defined in https://tools.ietf.org/html/rfc5545#section-3.2.2
func NewCommonName ¶
func NewCommonName(value string) *CommonName
func (*CommonName) String ¶ added in v0.1.0
func (cn *CommonName) String() string
type Container ¶
func (Container) GetTimezone ¶
type Delegatee ¶
type Delegatee struct {
Addresses []types.CalenderUserAddress
}
func NewDelegatee ¶
type Delegator ¶
type Delegator struct {
Addresses []types.CalenderUserAddress
}
func NewDelegator ¶
type DirectoryEntry ¶
func NewDirectoryEntry ¶
func NewDirectoryEntry(value string) (*DirectoryEntry, error)
func (*DirectoryEntry) String ¶ added in v0.1.0
func (de *DirectoryEntry) String() string
type FormatType ¶
func NewFormatType ¶
func NewFormatType(value string) (*FormatType, error)
func (*FormatType) String ¶ added in v0.1.0
func (ft *FormatType) String() string
type FreeBusyTimeType ¶
type FreeBusyTimeType struct { Type FreeBusyTimeTypeKind Value string // for X-NAME }
FreeBusyTimeType is definded in https://tools.ietf.org/html/rfc5545#section-3.2.9
func NewFreeBusyTimeType ¶
func NewFreeBusyTimeType(value string) (*FreeBusyTimeType, error)
func (*FreeBusyTimeType) String ¶ added in v0.1.0
func (fbtt *FreeBusyTimeType) String() string
type FreeBusyTimeTypeKind ¶
type FreeBusyTimeTypeKind string
const ( FreeBusyTimeTypeKindFree FreeBusyTimeTypeKind = "FREE" FreeBusyTimeTypeKindBusy FreeBusyTimeTypeKind = "BUSY" FreeBusyTimeTypeKindBusyTentative FreeBusyTimeTypeKind = "BUSY-TENTATIVE" FreeBusyTimeTypeKindXName FreeBusyTimeTypeKind = "X-NAME" )
type InlineEncoding ¶
type InlineEncoding struct { Type InlineEncodingType Value string // for x-name }
func NewInlineEncoding ¶
func NewInlineEncoding(value string) (*InlineEncoding, error)
func (*InlineEncoding) String ¶ added in v0.1.0
func (ie *InlineEncoding) String() string
type InlineEncodingType ¶
type InlineEncodingType string
const ( InlineEncodingType8BIT InlineEncodingType = "8BIT" InlineEncodingTypeBASE64 InlineEncodingType = "BASE64" InlineEncodingTypeXName InlineEncodingType = "X-NAME" )
type Language ¶
func NewLanguage ¶
type Membership ¶
type Membership struct {
URIs []types.CalenderUserAddress
}
func NewMembership ¶
func NewMembership(values []string) (*Membership, error)
func (*Membership) String ¶ added in v0.1.0
func (m *Membership) String() string
type ParticipationRole ¶
type ParticipationRole struct { Type ParticipationRoleType Value string // for x-token }
func NewParticipationRole ¶
func NewParticipationRole(value string) (*ParticipationRole, error)
func (*ParticipationRole) String ¶ added in v0.1.0
func (pr *ParticipationRole) String() string
type ParticipationRoleType ¶
type ParticipationRoleType string
const ( ParticipationRoleTypeChair ParticipationRoleType = "CHAIR" ParticipationRoleTypeRequestedParticipant ParticipationRoleType = "REQ-PARTICIPANT" ParticipationRoleTypeOptionalParticipant ParticipationRoleType = "OPT-PARTICIPANT" ParticipationRoleTypeNonParticipant ParticipationRoleType = "NON-PARTICIPANT" ParticipationRoleTypeXName ParticipationRoleType = "X-NAME" )
type ParticipationStatus ¶
type ParticipationStatus struct { Kind component.Type Type ParticipationStatusType Value string }
func NewParticipationStatus ¶
func NewParticipationStatus(value string, kind component.Type) (*ParticipationStatus, error)
func (*ParticipationStatus) String ¶ added in v0.1.0
func (ps *ParticipationStatus) String() string
type ParticipationStatusType ¶
type ParticipationStatusType string
const ( ParticipationStatusTypeNeedsAction ParticipationStatusType = "NEEDS-ACTION" ParticipationStatusTypeAccepted ParticipationStatusType = "ACCEPTED " ParticipationStatusTypeDeclined ParticipationStatusType = "DECLINED" ParticipationStatusTypeTentative ParticipationStatusType = "TENTATIVE" ParticipationStatusTypeDelegated ParticipationStatusType = "DELEGATED" ParticipationStatusTypeCompleted ParticipationStatusType = "COMPLETED" ParticipationStatusTypeInProcess ParticipationStatusType = "IN-PROCESS" ParticipationStatusTypeXToken ParticipationStatusType = "XToken" )
type RecurrenceIDRange ¶
type RecurrenceIDRange struct { }
func NewRecurrenceIDRange ¶
func NewRecurrenceIDRange(value string) (*RecurrenceIDRange, error)
func (*RecurrenceIDRange) String ¶ added in v0.1.0
func (ridr *RecurrenceIDRange) String() string
type ReferenceTimezone ¶
type ReferenceTimezone struct {
Value string
}
func NewReferenceTimezone ¶
func NewReferenceTimezone(value string) (*ReferenceTimezone, error)
func (*ReferenceTimezone) String ¶ added in v0.1.0
func (rtz *ReferenceTimezone) String() string
type RelationshipType ¶
type RelationshipType struct { Type RelationshipTypeKind Value string // for x-name }
func NewRelationshipType ¶
func NewRelationshipType(value string) (*RelationshipType, error)
func (*RelationshipType) String ¶ added in v0.1.0
func (rt *RelationshipType) String() string
type RelationshipTypeKind ¶
type RelationshipTypeKind string
const ( RelationshipTypeKindParent RelationshipTypeKind = "PARENT" RelationshipTypeKindChild RelationshipTypeKind = "CHILD" RelationshipTypeKindSibling RelationshipTypeKind = "SIBLING" RelationshipTypeKindXName RelationshipTypeKind = "X-NAME" )
type SentBy ¶
type SentBy struct {
Address types.CalenderUserAddress
}
type TypeName ¶
type TypeName string
const ( TypeNameAlternateTextRepresentation TypeName = "ALTREP" TypeNameCommonName TypeName = "CN" TypeNameCalenderUserType TypeName = "CUTYPE" TypeNameDelegator TypeName = "DELEGATED-FROM" TypeNameDelegatee TypeName = "DELEGATED-TO" TypeNameDirectoryEntry TypeName = "DIR" TypeNameInlineEncoding TypeName = "ENCODING" TypeNameFormatType TypeName = "FMTTYPE" TypeNameFreeBusyTimeType TypeName = "FBTYPE" TypeNameLanguage TypeName = "LANGUAGE" TypeNameMembership TypeName = "MEMBER" TypeNameParticipationStatus TypeName = "PARTSTAT" TypeNameRecurrenceIDRange TypeName = "RANGE" TypeNameAlarmTriggerRelationship TypeName = "RELATED" TypeNameRelationshipType TypeName = "RELTYPE" TypeNameParticipationRole TypeName = "ROLE" TypeNameRSVP TypeName = "RSVP" TypeNameSentBy TypeName = "SENT-BY" TypeNameReferenceTimezone TypeName = "TZID" TypeNameValueType TypeName = "VALUE" )
Click to show internal directories.
Click to hide internal directories.