Movatterモバイル変換


[0]ホーム

URL:


config

package
v2.23.0Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:6Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

View Source
const (FlagName = "global-config")

Variables

This section is empty.

Functions

funcDefaultDir

func DefaultDir()string

Types

typeFile

type Filestring

File provides convenience methods for interacting with *os.File.

func (File)Delete

func (fFile) Delete()error

Delete deletes the file.

func (File)Existsadded inv2.9.0

func (fFile) Exists()bool

func (File)Read

func (fFile) Read() (string,error)

Read reads the file to a string. All leading and trailing whitespaceis removed.

func (File)Write

func (fFile) Write(sstring)error

Write writes the string to the file.

typeRoot

type Rootstring

Root represents the configuration directory.

func (Root)DotfilesURL

func (rRoot) DotfilesURL()File

func (Root)Organization

func (rRoot) Organization()File

func (Root)PostgresPassword

func (rRoot) PostgresPassword()File

func (Root)PostgresPath

func (rRoot) PostgresPath()string

func (Root)PostgresPort

func (rRoot) PostgresPort()File

func (Root)ReplicaID

func (rRoot) ReplicaID()File

ReplicaID is a unique identifier for the Coder server.

func (Root)Session

func (rRoot) Session()File

func (Root)URL

func (rRoot) URL()File

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp