package pgservicefile
Import Path
github.com/jackc/pgservicefile (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Involved Source Files
Package pgservicefile is a parser for PostgreSQL service files (e.g. .pg_service.conf).
Package-Level Type Names (total 2, both are exported)
Name string
Settings map[string]string
func (*Servicefile).GetService(name string) (*Service, error)
Services []*Service
servicesByName map[string]*Service
GetService returns the named service.
func ParseServicefile(r io.Reader) (*Servicefile, error)
func ReadServicefile(path string) (*Servicefile, error)
Package-Level Functions (total 2, both are exported)
ParseServicefile reads r and parses it into a Servicefile.
ReadServicefile reads the file at path and parses it into a Servicefile.
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)