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)
Name string
Settings map[string]string
func (*Servicefile).GetService(name string) (*Service, error)
Services []*Service
GetService returns the named service.
func ParseServicefile(r io.Reader) (*Servicefile, error)
func ReadServicefile(path string) (*Servicefile, error)
Package-Level Functions (total 2)
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.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |