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
- Variables
- func AuthFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
- func LanguageFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
- func NewAccount() *accountWebservice
- func NewAccounts(localDomain string) *accountsWebservice
- func NewKeysAsymm() *keysAsymmWebservice
- func NewKeysSymm() *keysSymmWebservice
- func NewMessages() *messagesWebservice
- func NewProfile() *profileWebservice
- func NewPush() *pushWebservice
- func OptionalAuthFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
- func SetAvailableLanguages(languages ...language.Tag)
- func UserFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
Constants ¶
const AttributeAuthOk = "authOk"
const AttributeLanguage = "language"
Variables ¶
var ErrBadRequestBodyFormat = errors.New("error in request body format")
var ErrInvalidChallenge = errors.New("Invalid Challenge.")
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 OptionalAuthFilter ¶
func OptionalAuthFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
func SetAvailableLanguages ¶
func UserFilter ¶
func UserFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
Types ¶
This section is empty.