Documentation
¶
Index ¶
- type IS
- type S
- func (s *S) CreateAPIKey(ctx context.Context, req *v1.CreateAPIKeyRequest) (*v1.APIKey, error)
- func (s *S) DeleteAPIKey(ctx context.Context, req *v1.DeleteAPIKeyRequest) (*v1.DeleteAPIKeyResponse, error)
- func (s *S) ListAPIKeys(ctx context.Context, req *v1.ListAPIKeysRequest) (*v1.ListAPIKeysResponse, error)
- func (s *S) Run(ctx context.Context, port int, authConfig config.AuthConfig) error
- func (s *S) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IS ¶
type IS struct {
v1.UnimplementedUsersInternalServiceServer
// contains filtered or unexported fields
}
IS is an internal server.
func (*IS) ListAPIKeys ¶
func (s *IS) ListAPIKeys( ctx context.Context, req *v1.ListAPIKeysRequest, ) (*v1.ListAPIKeysResponse, error)
ListAPIKeys lists all API keys.
type S ¶
type S struct {
v1.UnimplementedUsersServiceServer
// contains filtered or unexported fields
}
S is a server.
func (*S) CreateAPIKey ¶
CreateAPIKey creates an API key.
func (*S) DeleteAPIKey ¶
func (s *S) DeleteAPIKey( ctx context.Context, req *v1.DeleteAPIKeyRequest, ) (*v1.DeleteAPIKeyResponse, error)
DeleteAPIKey deletes an API key.
func (*S) ListAPIKeys ¶
func (s *S) ListAPIKeys( ctx context.Context, req *v1.ListAPIKeysRequest, ) (*v1.ListAPIKeysResponse, error)
ListAPIKeys lists API keys.
Click to show internal directories.
Click to hide internal directories.