webservice

package
v0.0.0-...-0ad28a9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Overview

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

* Copyright 2013–2020 Kullo GmbH * * This source code is licensed under the 3-clause BSD license. See LICENSE.txt * in the root directory of this source tree for details.

Index

Constants

View Source
const AttributeAuthOk = "authOk"
View Source
const AttributeLanguage = "language"

Variables

View Source
var ErrBadRequestBodyFormat = errors.New("error in request body format")
View Source
var ErrInvalidChallenge = errors.New("Invalid Challenge.")
View Source
var ErrInvalidJson = errors.New("Invalid JSON")

Functions

func AuthFilter

func AuthFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

func LanguageFilter

func LanguageFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

func NewAccount

func NewAccount() *accountWebservice

func NewAccounts

func NewAccounts(localDomain string) *accountsWebservice

func NewKeysAsymm

func NewKeysAsymm() *keysAsymmWebservice

func NewKeysSymm

func NewKeysSymm() *keysSymmWebservice

func NewMessages

func NewMessages() *messagesWebservice

func NewProfile

func NewProfile() *profileWebservice

func NewPush

func NewPush() *pushWebservice

func OptionalAuthFilter

func OptionalAuthFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

func SetAvailableLanguages

func SetAvailableLanguages(languages ...language.Tag)

func UserFilter

func UserFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

Types

This section is empty.

Jump to

Keyboard shortcuts

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