...

Package config

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

Overview ▾

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

type Config

type Config struct {
    OsWorkdir bool

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

func NewConfig

func NewConfig() *Config

func (*Config) Clone

func (c *Config) Clone() *Config

func (*Config) Init

func (c *Config) Init() error