ms

package
v0.0.0-...-ffbc70f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 DateUri

func DateUri(t time.Time) rdf.IRI

func GetMessageByID

func GetMessageByID(ms *client.Oauth2Client, id string) (*data.Message, error)

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)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL