Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
ReadBasePath string
ReadRoots []RootOption
ExtraReadBasePath string
WriteBasePath string
WriteRoots []RootOption
Include []string
Exclude []string
Verbose bool
ReadSortDesc bool
ExtraReadSortDesc bool
WriteSortDesc bool
ArchiveDir string
ArchiveBasePath string
CodingAgentRunner codingagent.Runner
PullRequestsEnabled bool
}
Options はサーバーが扱う各ルートと表示順の設定を表す。
type RootOption ¶
RootOption は1つの閲覧ルートの設定を表す。
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server はHTTPサーバーを表す。 readRoots は閲覧用ルート、write はオプショナルな編集用ルート。
func NewWithOptions ¶
NewWithOptions は閲覧用ルート、追加閲覧ルート、書き込みルートを持つServerを作成する。
Click to show internal directories.
Click to hide internal directories.