config.go 432 B

12345678910111213
  1. // Copyright 2014 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package pam
  5. // Config contains configuration for PAM authentication.
  6. //
  7. // ⚠️ WARNING: Change to the field name must preserve the INI key name for backward compatibility.
  8. type Config struct {
  9. // The name of the PAM service, e.g. system-auth.
  10. ServiceName string
  11. }