Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoopAuthenticator ¶
type NoopAuthenticator struct{}
func (*NoopAuthenticator) Authenticate ¶
func (a *NoopAuthenticator) Authenticate(ctx context.Context) (string, error)
type PresharedKeyAuthenticator ¶
type PresharedKeyAuthenticator struct {
// contains filtered or unexported fields
}
func NewPresharedKeyAuthenticator ¶
func NewPresharedKeyAuthenticator(key string) *PresharedKeyAuthenticator
func (*PresharedKeyAuthenticator) Authenticate ¶
func (a *PresharedKeyAuthenticator) Authenticate(ctx context.Context) (string, error)
Click to show internal directories.
Click to hide internal directories.