Documentation
¶
Overview ¶
Package gitea provides a Gitea/Codeberg platform implementation for fetching pull request data from Gitea-based forges.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Platform)
Option configures a Platform.
func WithBaseURL ¶
WithBaseURL sets a custom base URL for self-hosted Gitea instances.
func WithHTTPClient ¶
WithHTTPClient sets a custom HTTP client for the Gitea platform.
func WithLogger ¶
WithLogger sets a custom logger for the Gitea platform.
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
Platform implements the prx.Platform interface for Gitea-based forges (Codeberg, self-hosted Gitea).
func NewCodebergPlatform ¶
NewCodebergPlatform creates a new Codeberg platform client.
func NewPlatform ¶
NewPlatform creates a new Gitea platform client. For Codeberg, use NewCodebergPlatform instead.
Click to show internal directories.
Click to hide internal directories.