package config

import "github.com/tetratelabs/wazero/internal/gojs/config"

Package config exists to avoid dependency cycles when keeping most of gojs code internal.

Index

Types

type Config

type Config struct {
	OsWorkdir bool
	OsUser    bool

	Uid, Gid, Euid int
	Groups         []int

	// Workdir is the actual working directory value.
	Workdir string
	Umask   uint32
	Rt      http.RoundTripper
}

func NewConfig

func NewConfig() *Config

func (*Config) Clone

func (c *Config) Clone() *Config

func (*Config) Init

func (c *Config) Init() error

Source Files

config.go

Version
v1.0.2
Published
Apr 18, 2023
Platform
linux/amd64
Imports
7 packages
Last checked
11 minutes ago

Tools for package owners.