core

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(domain string) (string, error)

Discover the Session Endpoint of a domain

Types

type Core

type Core struct {
	// The maximum file size, in bytes
	MaxSizeUpload       uint64 `json:"maxSizeUpload"`
	MaxConcurrentUpload uint64 `json:"maxConcurrentUpload"`

	// The maximum size, in bytes, that the server will accept for a request
	MaxSizeRequest        uint64 `json:"maxSizeRequest"`
	MaxConcurrentRequests uint64 `json:"maxConcurrentRequests"`
	MaxCallsInRequest     uint64 `json:"maxCallsInRequest"`

	// The maximum number of objects that the client may request in a single
	// /get type method call.
	MaxObjectsInGet     uint64               `json:"maxObjectsInGet"`
	MaxObjectsInSet     uint64               `json:"maxObjectsInSet"`
	CollationAlgorithms []jmap.CollationAlgo `json:"collationAlgorithms"`
}

func (*Core) New

func (c *Core) New() jmap.Capability

func (*Core) URI

func (c *Core) URI() jmap.URI

type Echo

type Echo struct {
	Hello string
}

The Core/echo method

func (Echo) Name

func (e Echo) Name() string

func (Echo) Requires

func (e Echo) Requires() []jmap.URI

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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