websocketnhooyr.io/websocket/internal/xsync Index | Files

package xsync

import "nhooyr.io/websocket/internal/xsync"

Index

Functions

func Go

func Go(fn func() error) <-chan error

Go allows running a function in another goroutine and waiting for its error.

Types

type Int64

type Int64 struct {
	// contains filtered or unexported fields
}

Int64 represents an atomic int64.

func (*Int64) Load

func (v *Int64) Load() int64

Load loads the int64.

func (*Int64) Store

func (v *Int64) Store(i int64)

Store stores the int64.

Source Files

go.go int64.go

Version
v1.8.17 (latest)
Published
Aug 10, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
1 hour ago

Tools for package owners.