Documentation ¶
Index ¶
- type ServerSecure
- func (s *ServerSecure) Authenticate(ctx context.Context) (uint64, error)
- func (s *ServerSecure) CreateRepo(ctx context.Context, in *nf6.CreateRepoRequest) (*nf6.CreateRepoReply, error)
- func (s *ServerSecure) ListRepos(ctx context.Context, in *nf6.ListReposRequest) (*nf6.ListReposReply, error)
- func (s *ServerSecure) RenameRepo(ctx context.Context, in *nf6.RenameRepoRequest) (*nf6.RenameRepoReply, error)
- func (s *ServerSecure) UpdateSshPublicKey(ctx context.Context, in *nf6.UpdateSshPublicKeyRequest) (*nf6.UpdateSshPublicKeyReply, error)
- func (s *ServerSecure) WhoAmI(ctx context.Context, in *nf6.WhoAmIRequest) (*nf6.WhoAmIReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerSecure ¶
type ServerSecure struct { nf6.UnimplementedNf6SecureServer // contains filtered or unexported fields }
func NewServer ¶
func NewServer(db *pgxpool.Pool) *ServerSecure
func (*ServerSecure) Authenticate ¶
func (s *ServerSecure) Authenticate(ctx context.Context) (uint64, error)
func (*ServerSecure) CreateRepo ¶
func (s *ServerSecure) CreateRepo(ctx context.Context, in *nf6.CreateRepoRequest) (*nf6.CreateRepoReply, error)
func (*ServerSecure) ListRepos ¶
func (s *ServerSecure) ListRepos(ctx context.Context, in *nf6.ListReposRequest) (*nf6.ListReposReply, error)
func (*ServerSecure) RenameRepo ¶
func (s *ServerSecure) RenameRepo(ctx context.Context, in *nf6.RenameRepoRequest) (*nf6.RenameRepoReply, error)
func (*ServerSecure) UpdateSshPublicKey ¶
func (s *ServerSecure) UpdateSshPublicKey(ctx context.Context, in *nf6.UpdateSshPublicKeyRequest) (*nf6.UpdateSshPublicKeyReply, error)
func (*ServerSecure) WhoAmI ¶
func (s *ServerSecure) WhoAmI(ctx context.Context, in *nf6.WhoAmIRequest) (*nf6.WhoAmIReply, error)
Click to show internal directories.
Click to hide internal directories.