Documentation ¶
Index ¶
- Constants
- func CalendarView(ms *client.Oauth2Client, start time.Time, end time.Time) (*data.CalendarView, error)
- func CalendarViewEntryToGraph(cal data.CalendarViewEntry, start time.Time, graph *sparqlupdate.Graph)
- func CalendarViewOfInterval(ms *client.Oauth2Client, graph *sparqlupdate.Graph, start time.Time, ...) error
- func CreateProcessors(provider oauthenticator.Provider) ([]extractld.UrlProcessor, error)
- func DateUri(t time.Time) rdf.IRI
- func GetMessageByID(ms *client.Oauth2Client, id string) (*data.Message, error)
- func ListedMessageToGraph(msg data.ListedMessage, start time.Time, graph *sparqlupdate.Graph)
- func MessageListOfInterval(ms *client.Oauth2Client, graph *sparqlupdate.Graph, start time.Time, ...) error
- func MessageToGraph(m *data.Message, graph *sparqlupdate.Graph)
- func MessagesByReceivedDay(ms *client.Oauth2Client, start time.Time, end time.Time) (*data.MessageList, error)
- type DateProcessor
Constants ¶
View Source
const (
RootURL = "https://graph.microsoft.com/v1.0/"
)
Variables ¶
This section is empty.
Functions ¶
func CalendarView ¶
func CalendarView(ms *client.Oauth2Client, start time.Time, end time.Time) (*data.CalendarView, error)
func CalendarViewEntryToGraph ¶
func CalendarViewEntryToGraph(cal data.CalendarViewEntry, start time.Time, graph *sparqlupdate.Graph)
func CalendarViewOfInterval ¶
func CalendarViewOfInterval(ms *client.Oauth2Client, graph *sparqlupdate.Graph, start time.Time, end time.Time) error
func CreateProcessors ¶
func CreateProcessors(provider oauthenticator.Provider) ([]extractld.UrlProcessor, error)
func GetMessageByID ¶
func ListedMessageToGraph ¶
func ListedMessageToGraph(msg data.ListedMessage, start time.Time, graph *sparqlupdate.Graph)
func MessageListOfInterval ¶
func MessageListOfInterval(ms *client.Oauth2Client, graph *sparqlupdate.Graph, start time.Time, end time.Time) error
func MessageToGraph ¶
func MessageToGraph(m *data.Message, graph *sparqlupdate.Graph)
func MessagesByReceivedDay ¶
func MessagesByReceivedDay(ms *client.Oauth2Client, start time.Time, end time.Time) (*data.MessageList, error)
Types ¶
type DateProcessor ¶
type DateProcessor interface {
ProcessDate(time.Time) (*sparqlupdate.Graph, error)
}
Click to show internal directories.
Click to hide internal directories.