meta

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(srv *server.Server, r chi.Router)

Types

type MetaNotice added in v0.6.2

type MetaNotice struct {
	ID     int    `json:"id"`
	Notice string `json:"notice"`
}

type MetaResponse

type MetaResponse struct {
	GitRepository string      `json:"git_repository"`
	GitCommit     string      `json:"git_commit"`
	Users         MetaUsers   `json:"users"`
	Members       int64       `json:"members"`
	RequireInvite bool        `json:"require_invite"`
	Notice        *MetaNotice `json:"notice"`
}

type MetaUsers

type MetaUsers struct {
	Total       int64 `json:"total"`
	ActiveMonth int64 `json:"active_month"`
	ActiveWeek  int64 `json:"active_week"`
	ActiveDay   int64 `json:"active_day"`
}

type Server

type Server struct {
	*server.Server
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL