Debian Codegraph @

token/register.go

raw symbols SCIP
1 //
2 // Copyright (c) SAS Institute Inc.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 package tokenscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/token`/
18
19 import (
20 "ioscip-go gomod github.com/golang/go/src go1.18 io/"
21
22 "github.com/sassoftware/relic/v7/configscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/config`/"
23 "github.com/sassoftware/relic/v7/lib/passpromptscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/lib/passprompt`/"
24 )
25
26 type (
27 OpenFuncscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/token`/OpenFunc# func(cfg *configscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/config`/.Configscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/config`/Config#, tokenName string, prompt passpromptscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/lib/passprompt`/.PasswordGetterscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/lib/passprompt`/PasswordGetter#) (Tokenscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/token`/Token#, error)
28 ListFuncscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/token`/ListFunc# func(provider string, dest ioscip-go gomod github.com/golang/go/src go1.18 io/.Writerscip-go gomod github.com/golang/go/src go1.18 io/Writer#) error
29 )
30
31 var (
32 Openersscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/token`/Openers. = make(map[string]OpenFuncscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/token`/OpenFunc#)
33 Listersscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/token`/Listers. = make(map[string]ListFuncscip-go gomod github.com/sassoftware/relic/v7 . `github.com/sassoftware/relic/v7/token`/ListFunc#)
34 )