Documentation
¶
Index ¶
- func DeviceAuth(r *http.Request, data *DeviceAuthData) html.Node
- func ExploreOrganizations(r *http.Request, data *ExploreOrganizationsData) html.Node
- func ExploreRepositories(r *http.Request, data *ExploreRepositoriesData) html.Node
- func ExploreUsers(r *http.Request, data *ExploreUsersData) html.Node
- func Home(r *http.Request, data *HomeData) html.Node
- func NewOrganization(r *http.Request, data *NewOrganizationData) html.Node
- func NewRepository(r *http.Request, data *NewRepositoryData) html.Node
- func NewTicket(r *http.Request, data *NewTicketData) html.Node
- func OrganizationProfile(r *http.Request, data *OrganizationProfileData) html.Node
- func RepositoryFile(r *http.Request, data *RepositoryFileData) html.Node
- func RepositorySettings(r *http.Request, data *RepositorySettingsData) html.Node
- func RepositoryTree(r *http.Request, data *RepositoryTreeData) html.Node
- func Settings(r *http.Request, data *SettingsData) html.Node
- func ShowRepository(r *http.Request, data *ShowRepositoryData) html.Node
- func ShowTicket(r *http.Request, data *ShowTicketData) html.Node
- func SignIn(r *http.Request, data *SignInData) html.Node
- func SignUp(r *http.Request, data *SignUpData) html.Node
- func TicketsList(r *http.Request, data *TicketsListData) html.Node
- func UserProfile(r *http.Request, data *UserProfileData) html.Node
- type CollaboratorData
- type DeviceAuthData
- type ExploreOrganizationsData
- type ExploreRepositoriesData
- type ExploreUsersData
- type HomeData
- type NewOrganizationData
- type NewRepositoryData
- type NewTicketData
- type OrganizationProfileData
- type RepositoryFileData
- type RepositorySettingsData
- type RepositoryTreeData
- type RepositoryWithOwner
- type SettingsData
- type ShowRepositoryData
- type ShowTicketData
- type SignInData
- type SignUpData
- type TicketsListData
- type UserProfileData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeviceAuth ¶
func DeviceAuth(r *http.Request, data *DeviceAuthData) html.Node
func ExploreOrganizations ¶
func ExploreOrganizations(r *http.Request, data *ExploreOrganizationsData) html.Node
func ExploreRepositories ¶
func ExploreRepositories(r *http.Request, data *ExploreRepositoriesData) html.Node
func ExploreUsers ¶
func ExploreUsers(r *http.Request, data *ExploreUsersData) html.Node
func NewOrganization ¶
func NewOrganization(r *http.Request, data *NewOrganizationData) html.Node
func NewRepository ¶
func NewRepository(r *http.Request, data *NewRepositoryData) html.Node
func OrganizationProfile ¶
func OrganizationProfile(r *http.Request, data *OrganizationProfileData) html.Node
func RepositoryFile ¶
func RepositoryFile(r *http.Request, data *RepositoryFileData) html.Node
func RepositorySettings ¶
func RepositorySettings(r *http.Request, data *RepositorySettingsData) html.Node
func RepositoryTree ¶
func RepositoryTree(r *http.Request, data *RepositoryTreeData) html.Node
func ShowRepository ¶
func ShowRepository(r *http.Request, data *ShowRepositoryData) html.Node
func ShowTicket ¶
func ShowTicket(r *http.Request, data *ShowTicketData) html.Node
func TicketsList ¶
func TicketsList(r *http.Request, data *TicketsListData) html.Node
func UserProfile ¶
func UserProfile(r *http.Request, data *UserProfileData) html.Node
Types ¶
type CollaboratorData ¶
type CollaboratorData struct {
Contributor *models.Contributor
Username string
}
type DeviceAuthData ¶
type ExploreOrganizationsData ¶
type ExploreOrganizationsData struct {
User *models.User
Organizations []*models.Organization
}
type ExploreRepositoriesData ¶
type ExploreRepositoriesData struct {
User *models.User
Repositories []RepositoryWithOwner
}
type HomeData ¶
type HomeData struct {
User *models.User
Repositories []RepositoryWithOwner
}
type NewOrganizationData ¶
type NewRepositoryData ¶
type NewTicketData ¶
type OrganizationProfileData ¶
type OrganizationProfileData struct {
User *models.User
Organization *models.Organization
Repositories []*models.Repository
StarCounts map[int64]int64
CanManage bool
CurrentTab string
}
type RepositoryFileData ¶
type RepositorySettingsData ¶
type RepositorySettingsData struct {
User *models.User
Repository *models.Repository
OwnerUsername string
Name string
DefaultBranch string
Visibility string
NameError string
DefaultBranchError string
VisibilityError string
GeneralSuccess string
DangerZoneSuccess string
StarCount int64
HasStarred bool
Collaborators []CollaboratorData
CollaboratorError string
CollaboratorSuccess string
NewCollaborator string
}
type RepositoryTreeData ¶
type RepositoryWithOwner ¶
type RepositoryWithOwner struct {
Repository *models.Repository
OwnerUsername string
StarCount int64
}
type SettingsData ¶
type SettingsData struct {
User *models.User
DisplayNameError string
UsernameError string
CurrentPasswordError string
NewPasswordError string
ConfirmPasswordError string
GeneralSuccess string
PasswordSuccess string
DisplayName string
Username string
AccessTokens []*models.AccessToken
NewAccessToken string
AccessTokenSuccess string
AccessTokenError string
}
type ShowRepositoryData ¶
type ShowTicketData ¶
type SignInData ¶
type SignInData struct {
Error string
}
type SignUpData ¶
type TicketsListData ¶
type UserProfileData ¶
Click to show internal directories.
Click to hide internal directories.