cfnetwork

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package cfnetwork provides a fluent Go API over the macOS CFNetwork framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Index

Constants

View Source
const (
	KCFStreamErrorSOCKS4IdConflict          = 93
	KCFStreamErrorSOCKS4IdentdFailed        = 92
	KCFStreamErrorSOCKS4RequestFailed       = 91
	KCFStreamErrorSOCKS4SubDomainResponse   = 2
	KCFStreamErrorSOCKS5BadResponseAddr     = 1
	KCFStreamErrorSOCKS5BadState            = 2
	KCFStreamErrorSOCKS5SubDomainMethod     = 4
	KCFStreamErrorSOCKS5SubDomainResponse   = 5
	KCFStreamErrorSOCKS5SubDomainUserPass   = 3
	KCFStreamErrorSOCKSSubDomainNone        = 0
	KCFStreamErrorSOCKSSubDomainVersionCode = 1
	KCFStreamErrorSOCKSUnknownClientVersion = 3
	KSOCKS5NoAcceptableMethod               = 255
)

Variables

This section is empty.

Functions

func CFFTPCreateParsedResourceListing

func CFFTPCreateParsedResourceListing(alloc corefoundation.CFAllocatorRef, buffer unsafe.Pointer, bufferLength int, parsed unsafe.Pointer) int

CFFTPCreateParsedResourceListing calls the CFNetwork framework function CFFTPCreateParsedResourceListing.

func CFHTTPAuthenticationAppliesToRequest

func CFHTTPAuthenticationAppliesToRequest(auth corefoundation.CFHTTPAuthenticationRef, request corefoundation.CFHTTPMessageRef) uint8

CFHTTPAuthenticationAppliesToRequest calls the CFNetwork framework function CFHTTPAuthenticationAppliesToRequest.

func CFHTTPAuthenticationCopyDomains

func CFHTTPAuthenticationCopyDomains(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFArrayRef

CFHTTPAuthenticationCopyDomains calls the CFNetwork framework function CFHTTPAuthenticationCopyDomains.

func CFHTTPAuthenticationCopyMethod

func CFHTTPAuthenticationCopyMethod(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFStringRef

CFHTTPAuthenticationCopyMethod calls the CFNetwork framework function CFHTTPAuthenticationCopyMethod.

func CFHTTPAuthenticationCopyRealm

func CFHTTPAuthenticationCopyRealm(auth corefoundation.CFHTTPAuthenticationRef) corefoundation.CFStringRef

CFHTTPAuthenticationCopyRealm calls the CFNetwork framework function CFHTTPAuthenticationCopyRealm.

func CFHTTPAuthenticationCreateFromResponse

func CFHTTPAuthenticationCreateFromResponse(alloc corefoundation.CFAllocatorRef, response corefoundation.CFHTTPMessageRef) corefoundation.CFHTTPAuthenticationRef

CFHTTPAuthenticationCreateFromResponse calls the CFNetwork framework function CFHTTPAuthenticationCreateFromResponse.

func CFHTTPAuthenticationGetTypeID

func CFHTTPAuthenticationGetTypeID() int

CFHTTPAuthenticationGetTypeID calls the CFNetwork framework function CFHTTPAuthenticationGetTypeID.

func CFHTTPAuthenticationIsValid

func CFHTTPAuthenticationIsValid(auth corefoundation.CFHTTPAuthenticationRef, err *corefoundation.CFStreamError) uint8

CFHTTPAuthenticationIsValid calls the CFNetwork framework function CFHTTPAuthenticationIsValid.

func CFHTTPAuthenticationRequiresAccountDomain

func CFHTTPAuthenticationRequiresAccountDomain(auth corefoundation.CFHTTPAuthenticationRef) uint8

CFHTTPAuthenticationRequiresAccountDomain calls the CFNetwork framework function CFHTTPAuthenticationRequiresAccountDomain.

func CFHTTPAuthenticationRequiresOrderedRequests

func CFHTTPAuthenticationRequiresOrderedRequests(auth corefoundation.CFHTTPAuthenticationRef) uint8

CFHTTPAuthenticationRequiresOrderedRequests calls the CFNetwork framework function CFHTTPAuthenticationRequiresOrderedRequests.

func CFHTTPAuthenticationRequiresUserNameAndPassword

func CFHTTPAuthenticationRequiresUserNameAndPassword(auth corefoundation.CFHTTPAuthenticationRef) uint8

CFHTTPAuthenticationRequiresUserNameAndPassword calls the CFNetwork framework function CFHTTPAuthenticationRequiresUserNameAndPassword.

func CFHTTPMessageAddAuthentication

func CFHTTPMessageAddAuthentication(request corefoundation.CFHTTPMessageRef, authenticationFailureResponse corefoundation.CFHTTPMessageRef, username corefoundation.CFStringRef, password corefoundation.CFStringRef, authenticationScheme corefoundation.CFStringRef, forProxy uint8) uint8

CFHTTPMessageAddAuthentication calls the CFNetwork framework function CFHTTPMessageAddAuthentication.

func CFHTTPMessageAppendBytes

func CFHTTPMessageAppendBytes(message corefoundation.CFHTTPMessageRef, newBytes unsafe.Pointer, numBytes int) uint8

CFHTTPMessageAppendBytes calls the CFNetwork framework function CFHTTPMessageAppendBytes.

func CFHTTPMessageApplyCredentialDictionary

CFHTTPMessageApplyCredentialDictionary calls the CFNetwork framework function CFHTTPMessageApplyCredentialDictionary.

func CFHTTPMessageApplyCredentials

CFHTTPMessageApplyCredentials calls the CFNetwork framework function CFHTTPMessageApplyCredentials.

func CFHTTPMessageCopyAllHeaderFields

func CFHTTPMessageCopyAllHeaderFields(message corefoundation.CFHTTPMessageRef) corefoundation.CFDictionaryRef

CFHTTPMessageCopyAllHeaderFields calls the CFNetwork framework function CFHTTPMessageCopyAllHeaderFields.

func CFHTTPMessageCopyBody

func CFHTTPMessageCopyBody(message corefoundation.CFHTTPMessageRef) corefoundation.CFDataRef

CFHTTPMessageCopyBody calls the CFNetwork framework function CFHTTPMessageCopyBody.

func CFHTTPMessageCopyHeaderFieldValue

func CFHTTPMessageCopyHeaderFieldValue(message corefoundation.CFHTTPMessageRef, headerField corefoundation.CFStringRef) corefoundation.CFStringRef

CFHTTPMessageCopyHeaderFieldValue calls the CFNetwork framework function CFHTTPMessageCopyHeaderFieldValue.

func CFHTTPMessageCopyRequestMethod

func CFHTTPMessageCopyRequestMethod(request corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef

CFHTTPMessageCopyRequestMethod calls the CFNetwork framework function CFHTTPMessageCopyRequestMethod.

func CFHTTPMessageCopyRequestURL

func CFHTTPMessageCopyRequestURL(request corefoundation.CFHTTPMessageRef) corefoundation.CFURLRef

CFHTTPMessageCopyRequestURL calls the CFNetwork framework function CFHTTPMessageCopyRequestURL.

func CFHTTPMessageCopyResponseStatusLine

func CFHTTPMessageCopyResponseStatusLine(response corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef

CFHTTPMessageCopyResponseStatusLine calls the CFNetwork framework function CFHTTPMessageCopyResponseStatusLine.

func CFHTTPMessageCopySerializedMessage

func CFHTTPMessageCopySerializedMessage(message corefoundation.CFHTTPMessageRef) corefoundation.CFDataRef

CFHTTPMessageCopySerializedMessage calls the CFNetwork framework function CFHTTPMessageCopySerializedMessage.

func CFHTTPMessageCopyVersion

func CFHTTPMessageCopyVersion(message corefoundation.CFHTTPMessageRef) corefoundation.CFStringRef

CFHTTPMessageCopyVersion calls the CFNetwork framework function CFHTTPMessageCopyVersion.

func CFHTTPMessageCreateCopy

CFHTTPMessageCreateCopy calls the CFNetwork framework function CFHTTPMessageCreateCopy.

func CFHTTPMessageCreateEmpty

func CFHTTPMessageCreateEmpty(alloc corefoundation.CFAllocatorRef, isRequest uint8) corefoundation.CFHTTPMessageRef

CFHTTPMessageCreateEmpty calls the CFNetwork framework function CFHTTPMessageCreateEmpty.

func CFHTTPMessageCreateRequest

CFHTTPMessageCreateRequest calls the CFNetwork framework function CFHTTPMessageCreateRequest.

func CFHTTPMessageCreateResponse

func CFHTTPMessageCreateResponse(alloc corefoundation.CFAllocatorRef, statusCode int, statusDescription corefoundation.CFStringRef, httpVersion corefoundation.CFStringRef) corefoundation.CFHTTPMessageRef

CFHTTPMessageCreateResponse calls the CFNetwork framework function CFHTTPMessageCreateResponse.

func CFHTTPMessageGetResponseStatusCode

func CFHTTPMessageGetResponseStatusCode(response corefoundation.CFHTTPMessageRef) int

CFHTTPMessageGetResponseStatusCode calls the CFNetwork framework function CFHTTPMessageGetResponseStatusCode.

func CFHTTPMessageGetTypeID

func CFHTTPMessageGetTypeID() int

CFHTTPMessageGetTypeID calls the CFNetwork framework function CFHTTPMessageGetTypeID.

func CFHTTPMessageIsHeaderComplete

func CFHTTPMessageIsHeaderComplete(message corefoundation.CFHTTPMessageRef) uint8

CFHTTPMessageIsHeaderComplete calls the CFNetwork framework function CFHTTPMessageIsHeaderComplete.

func CFHTTPMessageIsRequest

func CFHTTPMessageIsRequest(message corefoundation.CFHTTPMessageRef) uint8

CFHTTPMessageIsRequest calls the CFNetwork framework function CFHTTPMessageIsRequest.

func CFHTTPMessageSetBody

func CFHTTPMessageSetBody(message corefoundation.CFHTTPMessageRef, bodyData corefoundation.CFDataRef)

CFHTTPMessageSetBody calls the CFNetwork framework function CFHTTPMessageSetBody.

func CFHTTPMessageSetHeaderFieldValue

func CFHTTPMessageSetHeaderFieldValue(message corefoundation.CFHTTPMessageRef, headerField corefoundation.CFStringRef, value corefoundation.CFStringRef)

CFHTTPMessageSetHeaderFieldValue calls the CFNetwork framework function CFHTTPMessageSetHeaderFieldValue.

func CFHostCancelInfoResolution

func CFHostCancelInfoResolution(theHost corefoundation.CFHostRef, info CFHostInfoType)

CFHostCancelInfoResolution calls the CFNetwork framework function CFHostCancelInfoResolution.

func CFHostCreateCopy

CFHostCreateCopy calls the CFNetwork framework function CFHostCreateCopy.

func CFHostCreateWithAddress

func CFHostCreateWithAddress(allocator corefoundation.CFAllocatorRef, addr corefoundation.CFDataRef) corefoundation.CFHostRef

CFHostCreateWithAddress calls the CFNetwork framework function CFHostCreateWithAddress.

func CFHostCreateWithName

func CFHostCreateWithName(allocator corefoundation.CFAllocatorRef, hostname corefoundation.CFStringRef) corefoundation.CFHostRef

CFHostCreateWithName calls the CFNetwork framework function CFHostCreateWithName.

func CFHostGetAddressing

func CFHostGetAddressing(theHost corefoundation.CFHostRef) (result corefoundation.CFArrayRef, hasBeenResolved uint8)

CFHostGetAddressing calls the CFNetwork framework function CFHostGetAddressing.

func CFHostGetNames

func CFHostGetNames(theHost corefoundation.CFHostRef) (result corefoundation.CFArrayRef, hasBeenResolved uint8)

CFHostGetNames calls the CFNetwork framework function CFHostGetNames.

func CFHostGetReachability

func CFHostGetReachability(theHost corefoundation.CFHostRef) (result corefoundation.CFDataRef, hasBeenResolved uint8)

CFHostGetReachability calls the CFNetwork framework function CFHostGetReachability.

func CFHostGetTypeID

func CFHostGetTypeID() int

CFHostGetTypeID calls the CFNetwork framework function CFHostGetTypeID.

func CFHostScheduleWithRunLoop

func CFHostScheduleWithRunLoop(theHost corefoundation.CFHostRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

CFHostScheduleWithRunLoop calls the CFNetwork framework function CFHostScheduleWithRunLoop.

func CFHostSetClient

func CFHostSetClient(theHost corefoundation.CFHostRef, clientCB unsafe.Pointer, clientContext unsafe.Pointer) uint8

CFHostSetClient calls the CFNetwork framework function CFHostSetClient.

func CFHostStartInfoResolution

func CFHostStartInfoResolution(theHost corefoundation.CFHostRef, info CFHostInfoType, err *corefoundation.CFStreamError) uint8

CFHostStartInfoResolution calls the CFNetwork framework function CFHostStartInfoResolution.

func CFHostUnscheduleFromRunLoop

func CFHostUnscheduleFromRunLoop(theHost corefoundation.CFHostRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

CFHostUnscheduleFromRunLoop calls the CFNetwork framework function CFHostUnscheduleFromRunLoop.

func CFNetDiagnosticCopyNetworkStatusPassively

func CFNetDiagnosticCopyNetworkStatusPassively(details corefoundation.CFNetDiagnosticRef, description unsafe.Pointer) int

CFNetDiagnosticCopyNetworkStatusPassively calls the CFNetwork framework function CFNetDiagnosticCopyNetworkStatusPassively.

func CFNetDiagnosticCreateWithStreams

CFNetDiagnosticCreateWithStreams calls the CFNetwork framework function CFNetDiagnosticCreateWithStreams.

func CFNetDiagnosticCreateWithURL

CFNetDiagnosticCreateWithURL calls the CFNetwork framework function CFNetDiagnosticCreateWithURL.

func CFNetDiagnosticDiagnoseProblemInteractively

func CFNetDiagnosticDiagnoseProblemInteractively(details corefoundation.CFNetDiagnosticRef) int

CFNetDiagnosticDiagnoseProblemInteractively calls the CFNetwork framework function CFNetDiagnosticDiagnoseProblemInteractively.

func CFNetDiagnosticSetName

func CFNetDiagnosticSetName(details corefoundation.CFNetDiagnosticRef, name corefoundation.CFStringRef)

CFNetDiagnosticSetName calls the CFNetwork framework function CFNetDiagnosticSetName.

func CFNetServiceBrowserCreate

func CFNetServiceBrowserCreate(alloc corefoundation.CFAllocatorRef, clientCB unsafe.Pointer, clientContext unsafe.Pointer) corefoundation.CFNetServiceBrowserRef

CFNetServiceBrowserCreate calls the CFNetwork framework function CFNetServiceBrowserCreate.

func CFNetServiceBrowserGetTypeID

func CFNetServiceBrowserGetTypeID() int

CFNetServiceBrowserGetTypeID calls the CFNetwork framework function CFNetServiceBrowserGetTypeID.

func CFNetServiceBrowserInvalidate

func CFNetServiceBrowserInvalidate(browser corefoundation.CFNetServiceBrowserRef)

CFNetServiceBrowserInvalidate calls the CFNetwork framework function CFNetServiceBrowserInvalidate.

func CFNetServiceBrowserScheduleWithRunLoop

func CFNetServiceBrowserScheduleWithRunLoop(browser corefoundation.CFNetServiceBrowserRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

CFNetServiceBrowserScheduleWithRunLoop calls the CFNetwork framework function CFNetServiceBrowserScheduleWithRunLoop.

func CFNetServiceBrowserSearchForDomains

func CFNetServiceBrowserSearchForDomains(browser corefoundation.CFNetServiceBrowserRef, registrationDomains uint8, err *corefoundation.CFStreamError) uint8

CFNetServiceBrowserSearchForDomains calls the CFNetwork framework function CFNetServiceBrowserSearchForDomains.

func CFNetServiceBrowserSearchForServices

func CFNetServiceBrowserSearchForServices(browser corefoundation.CFNetServiceBrowserRef, domain corefoundation.CFStringRef, serviceType corefoundation.CFStringRef, err *corefoundation.CFStreamError) uint8

CFNetServiceBrowserSearchForServices calls the CFNetwork framework function CFNetServiceBrowserSearchForServices.

func CFNetServiceBrowserStopSearch

func CFNetServiceBrowserStopSearch(browser corefoundation.CFNetServiceBrowserRef, err *corefoundation.CFStreamError)

CFNetServiceBrowserStopSearch calls the CFNetwork framework function CFNetServiceBrowserStopSearch.

func CFNetServiceBrowserUnscheduleFromRunLoop

func CFNetServiceBrowserUnscheduleFromRunLoop(browser corefoundation.CFNetServiceBrowserRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

CFNetServiceBrowserUnscheduleFromRunLoop calls the CFNetwork framework function CFNetServiceBrowserUnscheduleFromRunLoop.

func CFNetServiceCancel

func CFNetServiceCancel(theService corefoundation.CFNetServiceRef)

CFNetServiceCancel calls the CFNetwork framework function CFNetServiceCancel.

func CFNetServiceCreate

CFNetServiceCreate calls the CFNetwork framework function CFNetServiceCreate.

func CFNetServiceCreateCopy

CFNetServiceCreateCopy calls the CFNetwork framework function CFNetServiceCreateCopy.

func CFNetServiceCreateDictionaryWithTXTData

func CFNetServiceCreateDictionaryWithTXTData(alloc corefoundation.CFAllocatorRef, txtRecord corefoundation.CFDataRef) corefoundation.CFDictionaryRef

CFNetServiceCreateDictionaryWithTXTData calls the CFNetwork framework function CFNetServiceCreateDictionaryWithTXTData.

func CFNetServiceCreateTXTDataWithDictionary

func CFNetServiceCreateTXTDataWithDictionary(alloc corefoundation.CFAllocatorRef, keyValuePairs corefoundation.CFDictionaryRef) corefoundation.CFDataRef

CFNetServiceCreateTXTDataWithDictionary calls the CFNetwork framework function CFNetServiceCreateTXTDataWithDictionary.

func CFNetServiceGetAddressing

func CFNetServiceGetAddressing(theService corefoundation.CFNetServiceRef) corefoundation.CFArrayRef

CFNetServiceGetAddressing calls the CFNetwork framework function CFNetServiceGetAddressing.

func CFNetServiceGetDomain

func CFNetServiceGetDomain(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef

CFNetServiceGetDomain calls the CFNetwork framework function CFNetServiceGetDomain.

func CFNetServiceGetName

func CFNetServiceGetName(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef

CFNetServiceGetName calls the CFNetwork framework function CFNetServiceGetName.

func CFNetServiceGetPortNumber

func CFNetServiceGetPortNumber(theService corefoundation.CFNetServiceRef) int

CFNetServiceGetPortNumber calls the CFNetwork framework function CFNetServiceGetPortNumber.

func CFNetServiceGetTXTData

func CFNetServiceGetTXTData(theService corefoundation.CFNetServiceRef) corefoundation.CFDataRef

CFNetServiceGetTXTData calls the CFNetwork framework function CFNetServiceGetTXTData.

func CFNetServiceGetTargetHost

func CFNetServiceGetTargetHost(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef

CFNetServiceGetTargetHost calls the CFNetwork framework function CFNetServiceGetTargetHost.

func CFNetServiceGetType

func CFNetServiceGetType(theService corefoundation.CFNetServiceRef) corefoundation.CFStringRef

CFNetServiceGetType calls the CFNetwork framework function CFNetServiceGetType.

func CFNetServiceGetTypeID

func CFNetServiceGetTypeID() int

CFNetServiceGetTypeID calls the CFNetwork framework function CFNetServiceGetTypeID.

func CFNetServiceMonitorCreate

func CFNetServiceMonitorCreate(alloc corefoundation.CFAllocatorRef, theService corefoundation.CFNetServiceRef, clientCB unsafe.Pointer, clientContext unsafe.Pointer) corefoundation.CFNetServiceMonitorRef

CFNetServiceMonitorCreate calls the CFNetwork framework function CFNetServiceMonitorCreate.

func CFNetServiceMonitorGetTypeID

func CFNetServiceMonitorGetTypeID() int

CFNetServiceMonitorGetTypeID calls the CFNetwork framework function CFNetServiceMonitorGetTypeID.

func CFNetServiceMonitorInvalidate

func CFNetServiceMonitorInvalidate(monitor corefoundation.CFNetServiceMonitorRef)

CFNetServiceMonitorInvalidate calls the CFNetwork framework function CFNetServiceMonitorInvalidate.

func CFNetServiceMonitorScheduleWithRunLoop

func CFNetServiceMonitorScheduleWithRunLoop(monitor corefoundation.CFNetServiceMonitorRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

CFNetServiceMonitorScheduleWithRunLoop calls the CFNetwork framework function CFNetServiceMonitorScheduleWithRunLoop.

func CFNetServiceMonitorStart

func CFNetServiceMonitorStart(monitor corefoundation.CFNetServiceMonitorRef, recordType CFNetServiceMonitorType, err *corefoundation.CFStreamError) uint8

CFNetServiceMonitorStart calls the CFNetwork framework function CFNetServiceMonitorStart.

func CFNetServiceMonitorStop

func CFNetServiceMonitorStop(monitor corefoundation.CFNetServiceMonitorRef, err *corefoundation.CFStreamError)

CFNetServiceMonitorStop calls the CFNetwork framework function CFNetServiceMonitorStop.

func CFNetServiceMonitorUnscheduleFromRunLoop

func CFNetServiceMonitorUnscheduleFromRunLoop(monitor corefoundation.CFNetServiceMonitorRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

CFNetServiceMonitorUnscheduleFromRunLoop calls the CFNetwork framework function CFNetServiceMonitorUnscheduleFromRunLoop.

func CFNetServiceRegister

func CFNetServiceRegister(theService corefoundation.CFNetServiceRef, err *corefoundation.CFStreamError) uint8

CFNetServiceRegister calls the CFNetwork framework function CFNetServiceRegister.

func CFNetServiceRegisterWithOptions

func CFNetServiceRegisterWithOptions(theService corefoundation.CFNetServiceRef, options int, err *corefoundation.CFStreamError) uint8

CFNetServiceRegisterWithOptions calls the CFNetwork framework function CFNetServiceRegisterWithOptions.

func CFNetServiceResolve

func CFNetServiceResolve(theService corefoundation.CFNetServiceRef, err *corefoundation.CFStreamError) uint8

CFNetServiceResolve calls the CFNetwork framework function CFNetServiceResolve.

func CFNetServiceResolveWithTimeout

func CFNetServiceResolveWithTimeout(theService corefoundation.CFNetServiceRef, timeout float64, err *corefoundation.CFStreamError) uint8

CFNetServiceResolveWithTimeout calls the CFNetwork framework function CFNetServiceResolveWithTimeout.

func CFNetServiceScheduleWithRunLoop

func CFNetServiceScheduleWithRunLoop(theService corefoundation.CFNetServiceRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

CFNetServiceScheduleWithRunLoop calls the CFNetwork framework function CFNetServiceScheduleWithRunLoop.

func CFNetServiceSetClient

func CFNetServiceSetClient(theService corefoundation.CFNetServiceRef, clientCB unsafe.Pointer, clientContext unsafe.Pointer) uint8

CFNetServiceSetClient calls the CFNetwork framework function CFNetServiceSetClient.

func CFNetServiceSetTXTData

func CFNetServiceSetTXTData(theService corefoundation.CFNetServiceRef, txtRecord corefoundation.CFDataRef) uint8

CFNetServiceSetTXTData calls the CFNetwork framework function CFNetServiceSetTXTData.

func CFNetServiceUnscheduleFromRunLoop

func CFNetServiceUnscheduleFromRunLoop(theService corefoundation.CFNetServiceRef, runLoop corefoundation.CFRunLoopRef, runLoopMode corefoundation.CFStringRef)

CFNetServiceUnscheduleFromRunLoop calls the CFNetwork framework function CFNetServiceUnscheduleFromRunLoop.

func CFNetworkCopyProxiesForAutoConfigurationScript

func CFNetworkCopyProxiesForAutoConfigurationScript(proxyAutoConfigurationScript corefoundation.CFStringRef, targetURL corefoundation.CFURLRef) (obj.Object, error)

func CFNetworkCopyProxiesForURL

func CFNetworkCopyProxiesForURL(url corefoundation.CFURLRef, proxySettings corefoundation.CFDictionaryRef) corefoundation.CFArrayRef

CFNetworkCopyProxiesForURL calls the CFNetwork framework function CFNetworkCopyProxiesForURL.

func CFNetworkCopySystemProxySettings

func CFNetworkCopySystemProxySettings() corefoundation.CFDictionaryRef

CFNetworkCopySystemProxySettings calls the CFNetwork framework function CFNetworkCopySystemProxySettings.

func CFNetworkExecuteProxyAutoConfigurationScript

func CFNetworkExecuteProxyAutoConfigurationScript(proxyAutoConfigurationScript corefoundation.CFStringRef, targetURL corefoundation.CFURLRef, cb unsafe.Pointer, clientContext unsafe.Pointer) corefoundation.CFRunLoopSourceRef

CFNetworkExecuteProxyAutoConfigurationScript calls the CFNetwork framework function CFNetworkExecuteProxyAutoConfigurationScript.

func CFNetworkExecuteProxyAutoConfigurationURL

func CFNetworkExecuteProxyAutoConfigurationURL(proxyAutoConfigURL corefoundation.CFURLRef, targetURL corefoundation.CFURLRef, cb unsafe.Pointer, clientContext unsafe.Pointer) corefoundation.CFRunLoopSourceRef

CFNetworkExecuteProxyAutoConfigurationURL calls the CFNetwork framework function CFNetworkExecuteProxyAutoConfigurationURL.

func CFReadStreamCreateForHTTPRequest

func CFReadStreamCreateForHTTPRequest(alloc corefoundation.CFAllocatorRef, request corefoundation.CFHTTPMessageRef) corefoundation.CFReadStreamRef

CFReadStreamCreateForHTTPRequest calls the CFNetwork framework function CFReadStreamCreateForHTTPRequest.

func CFReadStreamCreateForStreamedHTTPRequest

func CFReadStreamCreateForStreamedHTTPRequest(alloc corefoundation.CFAllocatorRef, requestHeaders corefoundation.CFHTTPMessageRef, requestBody corefoundation.CFReadStreamRef) corefoundation.CFReadStreamRef

CFReadStreamCreateForStreamedHTTPRequest calls the CFNetwork framework function CFReadStreamCreateForStreamedHTTPRequest.

func CFReadStreamCreateWithFTPURL

func CFReadStreamCreateWithFTPURL(alloc corefoundation.CFAllocatorRef, ftpURL corefoundation.CFURLRef) corefoundation.CFReadStreamRef

CFReadStreamCreateWithFTPURL calls the CFNetwork framework function CFReadStreamCreateWithFTPURL.

func CFSocketStreamSOCKSGetError

func CFSocketStreamSOCKSGetError(err *corefoundation.CFStreamError) int

CFSocketStreamSOCKSGetError calls the CFNetwork framework function CFSocketStreamSOCKSGetError.

func CFSocketStreamSOCKSGetErrorSubdomain

func CFSocketStreamSOCKSGetErrorSubdomain(err *corefoundation.CFStreamError) int

CFSocketStreamSOCKSGetErrorSubdomain calls the CFNetwork framework function CFSocketStreamSOCKSGetErrorSubdomain.

func CFStreamCreatePairWithSocketToCFHost

func CFStreamCreatePairWithSocketToCFHost(alloc corefoundation.CFAllocatorRef, host corefoundation.CFHostRef, port int, readStream unsafe.Pointer, writeStream unsafe.Pointer)

CFStreamCreatePairWithSocketToCFHost calls the CFNetwork framework function CFStreamCreatePairWithSocketToCFHost.

func CFStreamCreatePairWithSocketToNetService

func CFStreamCreatePairWithSocketToNetService(alloc corefoundation.CFAllocatorRef, service corefoundation.CFNetServiceRef, readStream unsafe.Pointer, writeStream unsafe.Pointer)

CFStreamCreatePairWithSocketToNetService calls the CFNetwork framework function CFStreamCreatePairWithSocketToNetService.

func CFWriteStreamCreateWithFTPURL

func CFWriteStreamCreateWithFTPURL(alloc corefoundation.CFAllocatorRef, ftpURL corefoundation.CFURLRef) corefoundation.CFWriteStreamRef

CFWriteStreamCreateWithFTPURL calls the CFNetwork framework function CFWriteStreamCreateWithFTPURL.

func KCFDNSServiceFailureKey

func KCFDNSServiceFailureKey() obj.Object

KCFDNSServiceFailureKey returns the value of the constant kCFDNSServiceFailureKey.

func KCFErrorDomainCFNetwork

func KCFErrorDomainCFNetwork() obj.Object

KCFErrorDomainCFNetwork returns the value of the constant kCFErrorDomainCFNetwork.

func KCFErrorDomainWinSock

func KCFErrorDomainWinSock() obj.Object

KCFErrorDomainWinSock returns the value of the constant kCFErrorDomainWinSock.

func KCFFTPResourceGroup

func KCFFTPResourceGroup() obj.Object

KCFFTPResourceGroup returns the value of the constant kCFFTPResourceGroup.

func KCFFTPResourceLink() obj.Object

KCFFTPResourceLink returns the value of the constant kCFFTPResourceLink.

func KCFFTPResourceModDate

func KCFFTPResourceModDate() obj.Object

KCFFTPResourceModDate returns the value of the constant kCFFTPResourceModDate.

func KCFFTPResourceMode

func KCFFTPResourceMode() obj.Object

KCFFTPResourceMode returns the value of the constant kCFFTPResourceMode.

func KCFFTPResourceName

func KCFFTPResourceName() obj.Object

KCFFTPResourceName returns the value of the constant kCFFTPResourceName.

func KCFFTPResourceOwner

func KCFFTPResourceOwner() obj.Object

KCFFTPResourceOwner returns the value of the constant kCFFTPResourceOwner.

func KCFFTPResourceSize

func KCFFTPResourceSize() obj.Object

KCFFTPResourceSize returns the value of the constant kCFFTPResourceSize.

func KCFFTPResourceType

func KCFFTPResourceType() obj.Object

KCFFTPResourceType returns the value of the constant kCFFTPResourceType.

func KCFFTPStatusCodeKey

func KCFFTPStatusCodeKey() obj.Object

KCFFTPStatusCodeKey returns the value of the constant kCFFTPStatusCodeKey.

func KCFGetAddrInfoFailureKey

func KCFGetAddrInfoFailureKey() obj.Object

KCFGetAddrInfoFailureKey returns the value of the constant kCFGetAddrInfoFailureKey.

func KCFHTTPAuthenticationAccountDomain

func KCFHTTPAuthenticationAccountDomain() obj.Object

KCFHTTPAuthenticationAccountDomain returns the value of the constant kCFHTTPAuthenticationAccountDomain.

func KCFHTTPAuthenticationPassword

func KCFHTTPAuthenticationPassword() obj.Object

KCFHTTPAuthenticationPassword returns the value of the constant kCFHTTPAuthenticationPassword.

func KCFHTTPAuthenticationSchemeBasic

func KCFHTTPAuthenticationSchemeBasic() obj.Object

KCFHTTPAuthenticationSchemeBasic returns the value of the constant kCFHTTPAuthenticationSchemeBasic.

func KCFHTTPAuthenticationSchemeDigest

func KCFHTTPAuthenticationSchemeDigest() obj.Object

KCFHTTPAuthenticationSchemeDigest returns the value of the constant kCFHTTPAuthenticationSchemeDigest.

func KCFHTTPAuthenticationSchemeKerberos

func KCFHTTPAuthenticationSchemeKerberos() obj.Object

KCFHTTPAuthenticationSchemeKerberos returns the value of the constant kCFHTTPAuthenticationSchemeKerberos.

func KCFHTTPAuthenticationSchemeNTLM

func KCFHTTPAuthenticationSchemeNTLM() obj.Object

KCFHTTPAuthenticationSchemeNTLM returns the value of the constant kCFHTTPAuthenticationSchemeNTLM.

func KCFHTTPAuthenticationSchemeNegotiate

func KCFHTTPAuthenticationSchemeNegotiate() obj.Object

KCFHTTPAuthenticationSchemeNegotiate returns the value of the constant kCFHTTPAuthenticationSchemeNegotiate.

func KCFHTTPAuthenticationSchemeNegotiate2

func KCFHTTPAuthenticationSchemeNegotiate2() obj.Object

KCFHTTPAuthenticationSchemeNegotiate2 returns the value of the constant kCFHTTPAuthenticationSchemeNegotiate2.

func KCFHTTPAuthenticationSchemeXMobileMeAuthToken

func KCFHTTPAuthenticationSchemeXMobileMeAuthToken() obj.Object

KCFHTTPAuthenticationSchemeXMobileMeAuthToken returns the value of the constant kCFHTTPAuthenticationSchemeXMobileMeAuthToken.

func KCFHTTPAuthenticationUsername

func KCFHTTPAuthenticationUsername() obj.Object

KCFHTTPAuthenticationUsername returns the value of the constant kCFHTTPAuthenticationUsername.

func KCFHTTPVersion1_0

func KCFHTTPVersion1_0() obj.Object

KCFHTTPVersion1_0 returns the value of the constant kCFHTTPVersion1_0.

func KCFHTTPVersion1_1

func KCFHTTPVersion1_1() obj.Object

KCFHTTPVersion1_1 returns the value of the constant kCFHTTPVersion1_1.

func KCFHTTPVersion2_0

func KCFHTTPVersion2_0() obj.Object

KCFHTTPVersion2_0 returns the value of the constant kCFHTTPVersion2_0.

func KCFHTTPVersion3_0

func KCFHTTPVersion3_0() obj.Object

KCFHTTPVersion3_0 returns the value of the constant kCFHTTPVersion3_0.

func KCFNetworkProxiesExceptionsList

func KCFNetworkProxiesExceptionsList() obj.Object

KCFNetworkProxiesExceptionsList returns the value of the constant kCFNetworkProxiesExceptionsList.

func KCFNetworkProxiesExcludeSimpleHostnames

func KCFNetworkProxiesExcludeSimpleHostnames() obj.Object

KCFNetworkProxiesExcludeSimpleHostnames returns the value of the constant kCFNetworkProxiesExcludeSimpleHostnames.

func KCFNetworkProxiesFTPEnable

func KCFNetworkProxiesFTPEnable() obj.Object

KCFNetworkProxiesFTPEnable returns the value of the constant kCFNetworkProxiesFTPEnable.

func KCFNetworkProxiesFTPPassive

func KCFNetworkProxiesFTPPassive() obj.Object

KCFNetworkProxiesFTPPassive returns the value of the constant kCFNetworkProxiesFTPPassive.

func KCFNetworkProxiesFTPPort

func KCFNetworkProxiesFTPPort() obj.Object

KCFNetworkProxiesFTPPort returns the value of the constant kCFNetworkProxiesFTPPort.

func KCFNetworkProxiesFTPProxy

func KCFNetworkProxiesFTPProxy() obj.Object

KCFNetworkProxiesFTPProxy returns the value of the constant kCFNetworkProxiesFTPProxy.

func KCFNetworkProxiesGopherEnable

func KCFNetworkProxiesGopherEnable() obj.Object

KCFNetworkProxiesGopherEnable returns the value of the constant kCFNetworkProxiesGopherEnable.

func KCFNetworkProxiesGopherPort

func KCFNetworkProxiesGopherPort() obj.Object

KCFNetworkProxiesGopherPort returns the value of the constant kCFNetworkProxiesGopherPort.

func KCFNetworkProxiesGopherProxy

func KCFNetworkProxiesGopherProxy() obj.Object

KCFNetworkProxiesGopherProxy returns the value of the constant kCFNetworkProxiesGopherProxy.

func KCFNetworkProxiesHTTPEnable

func KCFNetworkProxiesHTTPEnable() obj.Object

KCFNetworkProxiesHTTPEnable returns the value of the constant kCFNetworkProxiesHTTPEnable.

func KCFNetworkProxiesHTTPPort

func KCFNetworkProxiesHTTPPort() obj.Object

KCFNetworkProxiesHTTPPort returns the value of the constant kCFNetworkProxiesHTTPPort.

func KCFNetworkProxiesHTTPProxy

func KCFNetworkProxiesHTTPProxy() obj.Object

KCFNetworkProxiesHTTPProxy returns the value of the constant kCFNetworkProxiesHTTPProxy.

func KCFNetworkProxiesHTTPSEnable

func KCFNetworkProxiesHTTPSEnable() obj.Object

KCFNetworkProxiesHTTPSEnable returns the value of the constant kCFNetworkProxiesHTTPSEnable.

func KCFNetworkProxiesHTTPSPort

func KCFNetworkProxiesHTTPSPort() obj.Object

KCFNetworkProxiesHTTPSPort returns the value of the constant kCFNetworkProxiesHTTPSPort.

func KCFNetworkProxiesHTTPSProxy

func KCFNetworkProxiesHTTPSProxy() obj.Object

KCFNetworkProxiesHTTPSProxy returns the value of the constant kCFNetworkProxiesHTTPSProxy.

func KCFNetworkProxiesProxyAutoConfigEnable

func KCFNetworkProxiesProxyAutoConfigEnable() obj.Object

KCFNetworkProxiesProxyAutoConfigEnable returns the value of the constant kCFNetworkProxiesProxyAutoConfigEnable.

func KCFNetworkProxiesProxyAutoConfigJavaScript

func KCFNetworkProxiesProxyAutoConfigJavaScript() obj.Object

KCFNetworkProxiesProxyAutoConfigJavaScript returns the value of the constant kCFNetworkProxiesProxyAutoConfigJavaScript.

func KCFNetworkProxiesProxyAutoConfigURLString

func KCFNetworkProxiesProxyAutoConfigURLString() obj.Object

KCFNetworkProxiesProxyAutoConfigURLString returns the value of the constant kCFNetworkProxiesProxyAutoConfigURLString.

func KCFNetworkProxiesProxyAutoDiscoveryEnable

func KCFNetworkProxiesProxyAutoDiscoveryEnable() obj.Object

KCFNetworkProxiesProxyAutoDiscoveryEnable returns the value of the constant kCFNetworkProxiesProxyAutoDiscoveryEnable.

func KCFNetworkProxiesRTSPEnable

func KCFNetworkProxiesRTSPEnable() obj.Object

KCFNetworkProxiesRTSPEnable returns the value of the constant kCFNetworkProxiesRTSPEnable.

func KCFNetworkProxiesRTSPPort

func KCFNetworkProxiesRTSPPort() obj.Object

KCFNetworkProxiesRTSPPort returns the value of the constant kCFNetworkProxiesRTSPPort.

func KCFNetworkProxiesRTSPProxy

func KCFNetworkProxiesRTSPProxy() obj.Object

KCFNetworkProxiesRTSPProxy returns the value of the constant kCFNetworkProxiesRTSPProxy.

func KCFNetworkProxiesSOCKSEnable

func KCFNetworkProxiesSOCKSEnable() obj.Object

KCFNetworkProxiesSOCKSEnable returns the value of the constant kCFNetworkProxiesSOCKSEnable.

func KCFNetworkProxiesSOCKSPort

func KCFNetworkProxiesSOCKSPort() obj.Object

KCFNetworkProxiesSOCKSPort returns the value of the constant kCFNetworkProxiesSOCKSPort.

func KCFNetworkProxiesSOCKSProxy

func KCFNetworkProxiesSOCKSProxy() obj.Object

KCFNetworkProxiesSOCKSProxy returns the value of the constant kCFNetworkProxiesSOCKSProxy.

func KCFProxyAutoConfigurationHTTPResponseKey

func KCFProxyAutoConfigurationHTTPResponseKey() obj.Object

KCFProxyAutoConfigurationHTTPResponseKey returns the value of the constant kCFProxyAutoConfigurationHTTPResponseKey.

func KCFProxyAutoConfigurationJavaScriptKey

func KCFProxyAutoConfigurationJavaScriptKey() obj.Object

KCFProxyAutoConfigurationJavaScriptKey returns the value of the constant kCFProxyAutoConfigurationJavaScriptKey.

func KCFProxyAutoConfigurationURLKey

func KCFProxyAutoConfigurationURLKey() obj.Object

KCFProxyAutoConfigurationURLKey returns the value of the constant kCFProxyAutoConfigurationURLKey.

func KCFProxyHostNameKey

func KCFProxyHostNameKey() obj.Object

KCFProxyHostNameKey returns the value of the constant kCFProxyHostNameKey.

func KCFProxyPasswordKey

func KCFProxyPasswordKey() obj.Object

KCFProxyPasswordKey returns the value of the constant kCFProxyPasswordKey.

func KCFProxyPortNumberKey

func KCFProxyPortNumberKey() obj.Object

KCFProxyPortNumberKey returns the value of the constant kCFProxyPortNumberKey.

func KCFProxyTypeAutoConfigurationJavaScript

func KCFProxyTypeAutoConfigurationJavaScript() obj.Object

KCFProxyTypeAutoConfigurationJavaScript returns the value of the constant kCFProxyTypeAutoConfigurationJavaScript.

func KCFProxyTypeAutoConfigurationURL

func KCFProxyTypeAutoConfigurationURL() obj.Object

KCFProxyTypeAutoConfigurationURL returns the value of the constant kCFProxyTypeAutoConfigurationURL.

func KCFProxyTypeFTP

func KCFProxyTypeFTP() obj.Object

KCFProxyTypeFTP returns the value of the constant kCFProxyTypeFTP.

func KCFProxyTypeHTTP

func KCFProxyTypeHTTP() obj.Object

KCFProxyTypeHTTP returns the value of the constant kCFProxyTypeHTTP.

func KCFProxyTypeHTTPS

func KCFProxyTypeHTTPS() obj.Object

KCFProxyTypeHTTPS returns the value of the constant kCFProxyTypeHTTPS.

func KCFProxyTypeKey

func KCFProxyTypeKey() obj.Object

KCFProxyTypeKey returns the value of the constant kCFProxyTypeKey.

func KCFProxyTypeNone

func KCFProxyTypeNone() obj.Object

KCFProxyTypeNone returns the value of the constant kCFProxyTypeNone.

func KCFProxyTypeSOCKS

func KCFProxyTypeSOCKS() obj.Object

KCFProxyTypeSOCKS returns the value of the constant kCFProxyTypeSOCKS.

func KCFProxyUsernameKey

func KCFProxyUsernameKey() obj.Object

KCFProxyUsernameKey returns the value of the constant kCFProxyUsernameKey.

func KCFSOCKSNegotiationMethodKey

func KCFSOCKSNegotiationMethodKey() obj.Object

KCFSOCKSNegotiationMethodKey returns the value of the constant kCFSOCKSNegotiationMethodKey.

func KCFSOCKSStatusCodeKey

func KCFSOCKSStatusCodeKey() obj.Object

KCFSOCKSStatusCodeKey returns the value of the constant kCFSOCKSStatusCodeKey.

func KCFSOCKSVersionKey

func KCFSOCKSVersionKey() obj.Object

KCFSOCKSVersionKey returns the value of the constant kCFSOCKSVersionKey.

func KCFStreamErrorDomainFTP

func KCFStreamErrorDomainFTP() int

KCFStreamErrorDomainFTP returns the value of the constant kCFStreamErrorDomainFTP.

func KCFStreamErrorDomainHTTP

func KCFStreamErrorDomainHTTP() int

KCFStreamErrorDomainHTTP returns the value of the constant kCFStreamErrorDomainHTTP.

func KCFStreamErrorDomainMach

func KCFStreamErrorDomainMach() int

KCFStreamErrorDomainMach returns the value of the constant kCFStreamErrorDomainMach.

func KCFStreamErrorDomainNetDB

func KCFStreamErrorDomainNetDB() int

KCFStreamErrorDomainNetDB returns the value of the constant kCFStreamErrorDomainNetDB.

func KCFStreamErrorDomainNetServices

func KCFStreamErrorDomainNetServices() int

KCFStreamErrorDomainNetServices returns the value of the constant kCFStreamErrorDomainNetServices.

func KCFStreamErrorDomainSystemConfiguration

func KCFStreamErrorDomainSystemConfiguration() int

KCFStreamErrorDomainSystemConfiguration returns the value of the constant kCFStreamErrorDomainSystemConfiguration.

func KCFStreamErrorDomainWinSock

func KCFStreamErrorDomainWinSock() int

KCFStreamErrorDomainWinSock returns the value of the constant kCFStreamErrorDomainWinSock.

func KCFStreamNetworkServiceType

func KCFStreamNetworkServiceType() obj.Object

KCFStreamNetworkServiceType returns the value of the constant kCFStreamNetworkServiceType.

func KCFStreamNetworkServiceTypeAVStreaming

func KCFStreamNetworkServiceTypeAVStreaming() obj.Object

KCFStreamNetworkServiceTypeAVStreaming returns the value of the constant kCFStreamNetworkServiceTypeAVStreaming.

func KCFStreamNetworkServiceTypeBackground

func KCFStreamNetworkServiceTypeBackground() obj.Object

KCFStreamNetworkServiceTypeBackground returns the value of the constant kCFStreamNetworkServiceTypeBackground.

func KCFStreamNetworkServiceTypeCallSignaling

func KCFStreamNetworkServiceTypeCallSignaling() obj.Object

KCFStreamNetworkServiceTypeCallSignaling returns the value of the constant kCFStreamNetworkServiceTypeCallSignaling.

func KCFStreamNetworkServiceTypeResponsiveAV

func KCFStreamNetworkServiceTypeResponsiveAV() obj.Object

KCFStreamNetworkServiceTypeResponsiveAV returns the value of the constant kCFStreamNetworkServiceTypeResponsiveAV.

func KCFStreamNetworkServiceTypeResponsiveData

func KCFStreamNetworkServiceTypeResponsiveData() obj.Object

KCFStreamNetworkServiceTypeResponsiveData returns the value of the constant kCFStreamNetworkServiceTypeResponsiveData.

func KCFStreamNetworkServiceTypeVideo

func KCFStreamNetworkServiceTypeVideo() obj.Object

KCFStreamNetworkServiceTypeVideo returns the value of the constant kCFStreamNetworkServiceTypeVideo.

func KCFStreamNetworkServiceTypeVoIP

func KCFStreamNetworkServiceTypeVoIP() obj.Object

KCFStreamNetworkServiceTypeVoIP returns the value of the constant kCFStreamNetworkServiceTypeVoIP.

func KCFStreamNetworkServiceTypeVoice

func KCFStreamNetworkServiceTypeVoice() obj.Object

KCFStreamNetworkServiceTypeVoice returns the value of the constant kCFStreamNetworkServiceTypeVoice.

func KCFStreamPropertyAllowConstrainedNetworkAccess

func KCFStreamPropertyAllowConstrainedNetworkAccess() obj.Object

KCFStreamPropertyAllowConstrainedNetworkAccess returns the value of the constant kCFStreamPropertyAllowConstrainedNetworkAccess.

func KCFStreamPropertyAllowExpensiveNetworkAccess

func KCFStreamPropertyAllowExpensiveNetworkAccess() obj.Object

KCFStreamPropertyAllowExpensiveNetworkAccess returns the value of the constant kCFStreamPropertyAllowExpensiveNetworkAccess.

func KCFStreamPropertyConnectionIsCellular

func KCFStreamPropertyConnectionIsCellular() obj.Object

KCFStreamPropertyConnectionIsCellular returns the value of the constant kCFStreamPropertyConnectionIsCellular.

func KCFStreamPropertyConnectionIsExpensive

func KCFStreamPropertyConnectionIsExpensive() obj.Object

KCFStreamPropertyConnectionIsExpensive returns the value of the constant kCFStreamPropertyConnectionIsExpensive.

func KCFStreamPropertyFTPAttemptPersistentConnection

func KCFStreamPropertyFTPAttemptPersistentConnection() obj.Object

KCFStreamPropertyFTPAttemptPersistentConnection returns the value of the constant kCFStreamPropertyFTPAttemptPersistentConnection.

func KCFStreamPropertyFTPFetchResourceInfo

func KCFStreamPropertyFTPFetchResourceInfo() obj.Object

KCFStreamPropertyFTPFetchResourceInfo returns the value of the constant kCFStreamPropertyFTPFetchResourceInfo.

func KCFStreamPropertyFTPFileTransferOffset

func KCFStreamPropertyFTPFileTransferOffset() obj.Object

KCFStreamPropertyFTPFileTransferOffset returns the value of the constant kCFStreamPropertyFTPFileTransferOffset.

func KCFStreamPropertyFTPPassword

func KCFStreamPropertyFTPPassword() obj.Object

KCFStreamPropertyFTPPassword returns the value of the constant kCFStreamPropertyFTPPassword.

func KCFStreamPropertyFTPProxy

func KCFStreamPropertyFTPProxy() obj.Object

KCFStreamPropertyFTPProxy returns the value of the constant kCFStreamPropertyFTPProxy.

func KCFStreamPropertyFTPProxyHost

func KCFStreamPropertyFTPProxyHost() obj.Object

KCFStreamPropertyFTPProxyHost returns the value of the constant kCFStreamPropertyFTPProxyHost.

func KCFStreamPropertyFTPProxyPassword

func KCFStreamPropertyFTPProxyPassword() obj.Object

KCFStreamPropertyFTPProxyPassword returns the value of the constant kCFStreamPropertyFTPProxyPassword.

func KCFStreamPropertyFTPProxyPort

func KCFStreamPropertyFTPProxyPort() obj.Object

KCFStreamPropertyFTPProxyPort returns the value of the constant kCFStreamPropertyFTPProxyPort.

func KCFStreamPropertyFTPProxyUser

func KCFStreamPropertyFTPProxyUser() obj.Object

KCFStreamPropertyFTPProxyUser returns the value of the constant kCFStreamPropertyFTPProxyUser.

func KCFStreamPropertyFTPResourceSize

func KCFStreamPropertyFTPResourceSize() obj.Object

KCFStreamPropertyFTPResourceSize returns the value of the constant kCFStreamPropertyFTPResourceSize.

func KCFStreamPropertyFTPUsePassiveMode

func KCFStreamPropertyFTPUsePassiveMode() obj.Object

KCFStreamPropertyFTPUsePassiveMode returns the value of the constant kCFStreamPropertyFTPUsePassiveMode.

func KCFStreamPropertyFTPUserName

func KCFStreamPropertyFTPUserName() obj.Object

KCFStreamPropertyFTPUserName returns the value of the constant kCFStreamPropertyFTPUserName.

func KCFStreamPropertyHTTPAttemptPersistentConnection

func KCFStreamPropertyHTTPAttemptPersistentConnection() obj.Object

KCFStreamPropertyHTTPAttemptPersistentConnection returns the value of the constant kCFStreamPropertyHTTPAttemptPersistentConnection.

func KCFStreamPropertyHTTPFinalRequest

func KCFStreamPropertyHTTPFinalRequest() obj.Object

KCFStreamPropertyHTTPFinalRequest returns the value of the constant kCFStreamPropertyHTTPFinalRequest.

func KCFStreamPropertyHTTPFinalURL

func KCFStreamPropertyHTTPFinalURL() obj.Object

KCFStreamPropertyHTTPFinalURL returns the value of the constant kCFStreamPropertyHTTPFinalURL.

func KCFStreamPropertyHTTPProxy

func KCFStreamPropertyHTTPProxy() obj.Object

KCFStreamPropertyHTTPProxy returns the value of the constant kCFStreamPropertyHTTPProxy.

func KCFStreamPropertyHTTPProxyHost

func KCFStreamPropertyHTTPProxyHost() obj.Object

KCFStreamPropertyHTTPProxyHost returns the value of the constant kCFStreamPropertyHTTPProxyHost.

func KCFStreamPropertyHTTPProxyPort

func KCFStreamPropertyHTTPProxyPort() obj.Object

KCFStreamPropertyHTTPProxyPort returns the value of the constant kCFStreamPropertyHTTPProxyPort.

func KCFStreamPropertyHTTPRequestBytesWrittenCount

func KCFStreamPropertyHTTPRequestBytesWrittenCount() obj.Object

KCFStreamPropertyHTTPRequestBytesWrittenCount returns the value of the constant kCFStreamPropertyHTTPRequestBytesWrittenCount.

func KCFStreamPropertyHTTPResponseHeader

func KCFStreamPropertyHTTPResponseHeader() obj.Object

KCFStreamPropertyHTTPResponseHeader returns the value of the constant kCFStreamPropertyHTTPResponseHeader.

func KCFStreamPropertyHTTPSProxyHost

func KCFStreamPropertyHTTPSProxyHost() obj.Object

KCFStreamPropertyHTTPSProxyHost returns the value of the constant kCFStreamPropertyHTTPSProxyHost.

func KCFStreamPropertyHTTPSProxyPort

func KCFStreamPropertyHTTPSProxyPort() obj.Object

KCFStreamPropertyHTTPSProxyPort returns the value of the constant kCFStreamPropertyHTTPSProxyPort.

func KCFStreamPropertyHTTPShouldAutoredirect

func KCFStreamPropertyHTTPShouldAutoredirect() obj.Object

KCFStreamPropertyHTTPShouldAutoredirect returns the value of the constant kCFStreamPropertyHTTPShouldAutoredirect.

func KCFStreamPropertyNoCellular

func KCFStreamPropertyNoCellular() obj.Object

KCFStreamPropertyNoCellular returns the value of the constant kCFStreamPropertyNoCellular.

func KCFStreamPropertyProxyLocalBypass

func KCFStreamPropertyProxyLocalBypass() obj.Object

KCFStreamPropertyProxyLocalBypass returns the value of the constant kCFStreamPropertyProxyLocalBypass.

func KCFStreamPropertySSLContext

func KCFStreamPropertySSLContext() obj.Object

KCFStreamPropertySSLContext returns the value of the constant kCFStreamPropertySSLContext.

func KCFStreamPropertySSLPeerCertificates

func KCFStreamPropertySSLPeerCertificates() obj.Object

KCFStreamPropertySSLPeerCertificates returns the value of the constant kCFStreamPropertySSLPeerCertificates.

func KCFStreamPropertySSLPeerTrust

func KCFStreamPropertySSLPeerTrust() obj.Object

KCFStreamPropertySSLPeerTrust returns the value of the constant kCFStreamPropertySSLPeerTrust.

func KCFStreamPropertySSLSettings

func KCFStreamPropertySSLSettings() obj.Object

KCFStreamPropertySSLSettings returns the value of the constant kCFStreamPropertySSLSettings.

func KCFStreamPropertySocketExtendedBackgroundIdleMode

func KCFStreamPropertySocketExtendedBackgroundIdleMode() obj.Object

KCFStreamPropertySocketExtendedBackgroundIdleMode returns the value of the constant kCFStreamPropertySocketExtendedBackgroundIdleMode.

func KCFStreamPropertySocketRemoteHost

func KCFStreamPropertySocketRemoteHost() obj.Object

KCFStreamPropertySocketRemoteHost returns the value of the constant kCFStreamPropertySocketRemoteHost.

func KCFStreamPropertySocketRemoteNetService

func KCFStreamPropertySocketRemoteNetService() obj.Object

KCFStreamPropertySocketRemoteNetService returns the value of the constant kCFStreamPropertySocketRemoteNetService.

func KCFStreamSSLAllowsAnyRoot

func KCFStreamSSLAllowsAnyRoot() obj.Object

KCFStreamSSLAllowsAnyRoot returns the value of the constant kCFStreamSSLAllowsAnyRoot.

func KCFStreamSSLAllowsExpiredCertificates

func KCFStreamSSLAllowsExpiredCertificates() obj.Object

KCFStreamSSLAllowsExpiredCertificates returns the value of the constant kCFStreamSSLAllowsExpiredCertificates.

func KCFStreamSSLAllowsExpiredRoots

func KCFStreamSSLAllowsExpiredRoots() obj.Object

KCFStreamSSLAllowsExpiredRoots returns the value of the constant kCFStreamSSLAllowsExpiredRoots.

func KCFStreamSSLCertificates

func KCFStreamSSLCertificates() obj.Object

KCFStreamSSLCertificates returns the value of the constant kCFStreamSSLCertificates.

func KCFStreamSSLIsServer

func KCFStreamSSLIsServer() obj.Object

KCFStreamSSLIsServer returns the value of the constant kCFStreamSSLIsServer.

func KCFStreamSSLLevel

func KCFStreamSSLLevel() obj.Object

KCFStreamSSLLevel returns the value of the constant kCFStreamSSLLevel.

func KCFStreamSSLPeerName

func KCFStreamSSLPeerName() obj.Object

KCFStreamSSLPeerName returns the value of the constant kCFStreamSSLPeerName.

func KCFStreamSSLValidatesCertificateChain

func KCFStreamSSLValidatesCertificateChain() obj.Object

KCFStreamSSLValidatesCertificateChain returns the value of the constant kCFStreamSSLValidatesCertificateChain.

func KCFURLErrorFailingURLErrorKey

func KCFURLErrorFailingURLErrorKey() obj.Object

KCFURLErrorFailingURLErrorKey returns the value of the constant kCFURLErrorFailingURLErrorKey.

func KCFURLErrorFailingURLStringErrorKey

func KCFURLErrorFailingURLStringErrorKey() obj.Object

KCFURLErrorFailingURLStringErrorKey returns the value of the constant kCFURLErrorFailingURLStringErrorKey.

Types

type CFHTTPAuthentication

type CFHTTPAuthentication struct{}

type CFHTTPMessage

type CFHTTPMessage struct{}

type CFHost

type CFHost struct{}

type CFHostClientContext

type CFHostClientContext struct {
	Version         int
	Info            unsafe.Pointer
	Retain          unsafe.Pointer
	Release         unsafe.Pointer
	CopyDescription unsafe.Pointer
}

A structure containing user-defined data and callbacks for CFHost objects.

type CFHostInfoType

type CFHostInfoType int32

Values indicating the type of data that is to be resolved or the type of data that was resolved.

const (
	// Specifies that addresses are to be resolved or that addresses were resolved.
	KCFHostAddresses CFHostInfoType = 0
	// Specifies that names are to be resolved or that names were resolved.
	KCFHostNames CFHostInfoType = 1
	// Specifies that reachability information is to be resolved or that reachability information was resolved.
	KCFHostReachability CFHostInfoType = 2
)

func (CFHostInfoType) String

func (e CFHostInfoType) String() string

String returns the CFHostInfoType constant's name, or its numeric form when the value is not a known constant.

type CFNetDiagnostic

type CFNetDiagnostic struct{}

type CFNetDiagnosticStatusValues

type CFNetDiagnosticStatusValues int32

Constants for diagnostic status values.

const (
	// No error occurred but there is no status.
	KCFNetDiagnosticNoErr CFNetDiagnosticStatusValues = 0
	// An error occurred that prevented the call from completing.
	KCFNetDiagnosticErr CFNetDiagnosticStatusValues = -66560
	// The connection appears to be working.
	KCFNetDiagnosticConnectionUp CFNetDiagnosticStatusValues = -66559
	// The status of the connection is not known.
	KCFNetDiagnosticConnectionIndeterminate CFNetDiagnosticStatusValues = -66558
	// The connection does not appear to be working.
	KCFNetDiagnosticConnectionDown CFNetDiagnosticStatusValues = -66557
)

func (CFNetDiagnosticStatusValues) String

String returns the CFNetDiagnosticStatusValues constant's name, or its numeric form when the value is not a known constant.

type CFNetService

type CFNetService struct{}

type CFNetServiceBrowser

type CFNetServiceBrowser struct{}

type CFNetServiceBrowserFlags

type CFNetServiceBrowserFlags uint64

Flags that the system passes to net service browser callbacks. Bitmask — values may be combined with |.

const (
	// A hint that the system will call the client’s callback function again soon.
	KCFNetServiceFlagMoreComing CFNetServiceBrowserFlags = 1
	// Specifies whether the result pertains to a search for domains or services.
	KCFNetServiceFlagIsDomain CFNetServiceBrowserFlags = 2
	// Specifies whether the resulting domain is the default registration or browse domain.
	KCFNetServiceFlagIsDefault            CFNetServiceBrowserFlags = 4
	KCFNetServiceFlagIsRegistrationDomain CFNetServiceBrowserFlags = 4
	// Specifies whether the client should remove the result instead of adding it.
	KCFNetServiceFlagRemove CFNetServiceBrowserFlags = 8
)

func (CFNetServiceBrowserFlags) String

func (e CFNetServiceBrowserFlags) String() string

String returns the CFNetServiceBrowserFlags constant's name, or its numeric form when the value is not a known constant.

type CFNetServiceClientContext

type CFNetServiceClientContext struct {
	Version         int
	Info            unsafe.Pointer
	Retain          unsafe.Pointer
	Release         unsafe.Pointer
	CopyDescription unsafe.Pointer
}

A structure provided when a CFNetService is associated with a callback function or when a CFNetServiceBrowser is created.

type CFNetServiceMonitor

type CFNetServiceMonitor struct{}

type CFNetServiceMonitorType

type CFNetServiceMonitorType int32

Record type specifier used to tell a service monitor the type of record changes to watch for.

const (
	// Watch for TXT record changes.
	KCFNetServiceMonitorTXT CFNetServiceMonitorType = 1
)

func (CFNetServiceMonitorType) String

func (e CFNetServiceMonitorType) String() string

String returns the CFNetServiceMonitorType constant's name, or its numeric form when the value is not a known constant.

type CFNetServiceRegisterFlags

type CFNetServiceRegisterFlags uint64

Options to use when registering a service on the network. Bitmask — values may be combined with |.

const (
	// Causes registrations to fail if a name conflict occurs.
	KCFNetServiceFlagNoAutoRename CFNetServiceRegisterFlags = 1
)

func (CFNetServiceRegisterFlags) String

func (e CFNetServiceRegisterFlags) String() string

String returns the CFNetServiceRegisterFlags constant's name, or its numeric form when the value is not a known constant.

type CFNetServicesError

type CFNetServicesError int32

Error codes that may be returned by CFNetServices functions or passed to CFNetServices callback functions.

const (
	// An unknown CFNetService error occurred.
	KCFNetServicesErrorUnknown CFNetServicesError = -72000
	// An attempt was made to use a name that is already in use.
	KCFNetServicesErrorCollision CFNetServicesError = -72001
	// Not used.
	KCFNetServicesErrorNotFound CFNetServicesError = -72002
	// A search is already in progress.
	KCFNetServicesErrorInProgress CFNetServicesError = -72003
	// A required argument was not provided.
	KCFNetServicesErrorBadArgument CFNetServicesError = -72004
	// The search or service was canceled.
	KCFNetServicesErrorCancel CFNetServicesError = -72005
	// Invalid data was passed to a CFNetServices function.
	KCFNetServicesErrorInvalid CFNetServicesError = -72006
	// Resolution failed because the timeout was reached.
	KCFNetServicesErrorTimeout CFNetServicesError = -72007
	// A required configuration for local network access is missing.
	KCFNetServicesErrorMissingRequiredConfiguration CFNetServicesError = -72008
)

func (CFNetServicesError) String

func (e CFNetServicesError) String() string

String returns the CFNetServicesError constant's name, or its numeric form when the value is not a known constant.

type CFNetworkErrors

type CFNetworkErrors int32

This enumeration contains error codes returned under the error domain kCFErrorDomainCFNetwork.

const (
	// The specified host wasn’t found.
	KCFHostErrorHostNotFound CFNetworkErrors = 1
	// An unknown error.
	KCFHostErrorUnknown CFNetworkErrors = 2
	// The SOCKS server rejected access because it doesn’t support connections with the requested SOCKS version.
	KCFSOCKSErrorUnknownClientVersion CFNetworkErrors = 100
	// The SOCKS server doesn’t support the requested version.
	KCFSOCKSErrorUnsupportedServerVersion CFNetworkErrors = 101
	// The server rejected the request, or the request failed.
	KCFSOCKS4ErrorRequestFailed CFNetworkErrors = 110
	// The server couldn’t connect to the identd daemon on the client and rejected the request.
	KCFSOCKS4ErrorIdentdFailed CFNetworkErrors = 111
	// The server rejected the request because the client program and the identd daemon reported different user IDs.
	KCFSOCKS4ErrorIdConflict CFNetworkErrors = 112
	// The server returned an unknown status code.
	KCFSOCKS4ErrorUnknownStatusCode CFNetworkErrors = 113
	// The stream isn’t in a state that allows the requested operation.
	KCFSOCKS5ErrorBadState CFNetworkErrors = 120
	// The address type returned isn’t supported.
	KCFSOCKS5ErrorBadResponseAddr CFNetworkErrors = 121
	// The SOCKS server refused the client connection because of bad login credentials.
	KCFSOCKS5ErrorBadCredentials CFNetworkErrors = 122
	// The requested method isn’t supported.
	KCFSOCKS5ErrorUnsupportedNegotiationMethod CFNetworkErrors = 123
	// The client and server couldn’t find a mutually agreeable authentication method.
	KCFSOCKS5ErrorNoAcceptableMethod CFNetworkErrors = 124
	// The server returned an unexpected status code.
	KCFFTPErrorUnexpectedStatusCode CFNetworkErrors = 200
	// The client and server couldn’t agree on a supported authentication type.
	KCFErrorHTTPAuthenticationTypeUnsupported CFNetworkErrors = 300
	// The server rejected the credentials provided for an authenticated connection.
	KCFErrorHTTPBadCredentials CFNetworkErrors = 301
	// The connection to the server was dropped.
	KCFErrorHTTPConnectionLost CFNetworkErrors = 302
	// The HTTP server response couldn’t be parsed.
	KCFErrorHTTPParseFailure CFNetworkErrors = 303
	// Too many HTTP redirects occurred before reaching a page that didn’t redirect the client to another page.
	KCFErrorHTTPRedirectionLoopDetected CFNetworkErrors = 304
	// The requested URL couldn’t be retrieved.
	KCFErrorHTTPBadURL CFNetworkErrors = 305
	// A connection to the HTTPS proxy couldn’t be established.
	KCFErrorHTTPProxyConnectionFailure CFNetworkErrors = 306
	// The proxy rejected the authentication credentials provided for logging in.
	KCFErrorHTTPBadProxyCredentials CFNetworkErrors = 307
	// An error occurred with the proxy autoconfiguration file.
	KCFErrorPACFileError CFNetworkErrors = 308
	// The authentication credentials provided by the proxy autoconfiguration file were rejected.
	KCFErrorPACFileAuth CFNetworkErrors = 309
	// A connection couldn’t be established to the HTTPS proxy.
	KCFErrorHTTPSProxyConnectionFailure CFNetworkErrors = 310
	// The HTTPS proxy returned an unexpected status code, such as a 3xx redirect.
	KCFStreamErrorHTTPSProxyFailureUnexpectedResponseToCONNECTMethod CFNetworkErrors = 311
	// The background session failed because it was in use by another process.
	KCFURLErrorBackgroundSessionInUseByAnotherProcess CFNetworkErrors = -996
	// The background session failed because it was disconnected.
	KCFURLErrorBackgroundSessionWasDisconnected CFNetworkErrors = -997
	// An unknown error occurred.
	KCFURLErrorUnknown CFNetworkErrors = -998
	// The connection was cancelled.
	KCFURLErrorCancelled CFNetworkErrors = -999
	// The connection failed due to a malformed URL.
	KCFURLErrorBadURL CFNetworkErrors = -1000
	// The connection timed out.
	KCFURLErrorTimedOut CFNetworkErrors = -1001
	// The connection failed due to an unsupported URL scheme.
	KCFURLErrorUnsupportedURL CFNetworkErrors = -1002
	// The connection failed because the host couldn’t be found.
	KCFURLErrorCannotFindHost CFNetworkErrors = -1003
	// The connection failed because a connection can’t be made to the host.
	KCFURLErrorCannotConnectToHost CFNetworkErrors = -1004
	// The connection failed because the network connection was lost.
	KCFURLErrorNetworkConnectionLost CFNetworkErrors = -1005
	// The connection failed because the DNS lookup failed.
	KCFURLErrorDNSLookupFailed CFNetworkErrors = -1006
	// The HTTP connection failed due to too many redirects.
	KCFURLErrorHTTPTooManyRedirects CFNetworkErrors = -1007
	// The connection’s resource is unavailable.
	KCFURLErrorResourceUnavailable CFNetworkErrors = -1008
	// The connection failed because the device isn’t connected to the internet.
	KCFURLErrorNotConnectedToInternet CFNetworkErrors = -1009
	// The connection was redirected to a nonexistent location.
	KCFURLErrorRedirectToNonExistentLocation CFNetworkErrors = -1010
	// The connection received an invalid server response.
	KCFURLErrorBadServerResponse CFNetworkErrors = -1011
	// The connection failed because the user cancelled required authentication.
	KCFURLErrorUserCancelledAuthentication CFNetworkErrors = -1012
	// The connection failed because it requires authentication.
	KCFURLErrorUserAuthenticationRequired CFNetworkErrors = -1013
	// The resource retrieved by the connection is zero bytes.
	KCFURLErrorZeroByteResource CFNetworkErrors = -1014
	// The connection can’t decode data encoded with a known content encoding.
	KCFURLErrorCannotDecodeRawData CFNetworkErrors = -1015
	// The connection can’t decode data encoded with an unknown content encoding.
	KCFURLErrorCannotDecodeContentData CFNetworkErrors = -1016
	// The connection can’t parse the server’s response.
	KCFURLErrorCannotParseResponse CFNetworkErrors = -1017
	// The connection failed because international roaming is disabled on the device.
	KCFURLErrorInternationalRoamingOff CFNetworkErrors = -1018
	// The connection failed because a call is active.
	KCFURLErrorCallIsActive CFNetworkErrors = -1019
	// The connection failed because data use isn’t currently allowed on the device.
	KCFURLErrorDataNotAllowed CFNetworkErrors = -1020
	// The connection failed because the request’s body stream was exhausted.
	KCFURLErrorRequestBodyStreamExhausted CFNetworkErrors = -1021
	// The connection failed because the App Transport Security configuration requires a secure connection.
	KCFURLErrorAppTransportSecurityRequiresSecureConnection CFNetworkErrors = -1022
	// The file operation failed because the file doesn’t exist.
	KCFURLErrorFileDoesNotExist CFNetworkErrors = -1100
	// The file operation failed because the file is a directory.
	KCFURLErrorFileIsDirectory CFNetworkErrors = -1101
	// The file operation failed because it doesn’t have permission to read the file.
	KCFURLErrorNoPermissionsToReadFile CFNetworkErrors = -1102
	// The file operation failed because the file is too large.
	KCFURLErrorDataLengthExceedsMaximum CFNetworkErrors = -1103
	// The file is outside of the safe area.
	KCFURLErrorFileOutsideSafeArea CFNetworkErrors = -1104
	// The secure connection failed for an unknown reason.
	KCFURLErrorSecureConnectionFailed CFNetworkErrors = -1200
	// The secure connection failed because the server’s certificate has an invalid date.
	KCFURLErrorServerCertificateHasBadDate CFNetworkErrors = -1201
	// The secure connection failed because the server’s certificate isn’t trusted.
	KCFURLErrorServerCertificateUntrusted CFNetworkErrors = -1202
	// The secure connection failed because the server’s certificate has an unknown root.
	KCFURLErrorServerCertificateHasUnknownRoot CFNetworkErrors = -1203
	// The secure connection failed because the server’s certificate isn’t valid yet.
	KCFURLErrorServerCertificateNotYetValid CFNetworkErrors = -1204
	// The secure connection failed because the client’s certificate was rejected.
	KCFURLErrorClientCertificateRejected CFNetworkErrors = -1205
	// The secure connection failed because the server requires a client certificate.
	KCFURLErrorClientCertificateRequired CFNetworkErrors = -1206
	// The connection failed because it’s being required to return a cached resource, but one isn’t available.
	KCFURLErrorCannotLoadFromNetwork CFNetworkErrors = -2000
	// The file can’t be created.
	KCFURLErrorCannotCreateFile CFNetworkErrors = -3000
	// The file can’t be opened.
	KCFURLErrorCannotOpenFile CFNetworkErrors = -3001
	// The file can’t be closed.
	KCFURLErrorCannotCloseFile CFNetworkErrors = -3002
	// The file can’t be written.
	KCFURLErrorCannotWriteToFile CFNetworkErrors = -3003
	// The file can’t be removed.
	KCFURLErrorCannotRemoveFile CFNetworkErrors = -3004
	// The file can’t be moved.
	KCFURLErrorCannotMoveFile CFNetworkErrors = -3005
	// The download failed because decoding of the downloaded data failed midstream.
	KCFURLErrorDownloadDecodingFailedMidStream CFNetworkErrors = -3006
	// The download failed because decoding of the downloaded data failed to complete.
	KCFURLErrorDownloadDecodingFailedToComplete CFNetworkErrors = -3007
	// The cookie file can’t be parsed.
	KCFHTTPCookieCannotParseCookieFile CFNetworkErrors = -4000
	// An error of unknown type has occurred.
	KCFNetServiceErrorUnknown CFNetworkErrors = -72000
	// An attempt was made to use a name that’s already in use.
	KCFNetServiceErrorCollision CFNetworkErrors = -72001
	// This error isn’t used.
	KCFNetServiceErrorNotFound CFNetworkErrors = -72002
	// A new search couldn’t be started because a search is already in progress.
	KCFNetServiceErrorInProgress CFNetworkErrors = -72003
	// A required argument either wasn’t provided or wasn’t valid.
	KCFNetServiceErrorBadArgument CFNetworkErrors = -72004
	// The search or service was canceled.
	KCFNetServiceErrorCancel CFNetworkErrors = -72005
	// Invalid data was passed to a CFNetServices function.
	KCFNetServiceErrorInvalid CFNetworkErrors = -72006
	// Resolution failed because the timeout was reached.
	KCFNetServiceErrorTimeout CFNetworkErrors = -72007
	// The DNS service discovery returned an error.
	KCFNetServiceErrorDNSServiceFailure CFNetworkErrors = -73000
)

func (CFNetworkErrors) String

func (e CFNetworkErrors) String() string

String returns the CFNetworkErrors constant's name, or its numeric form when the value is not a known constant.

type CFStreamErrorHTTP

type CFStreamErrorHTTP int32

Error codes that a read stream for an HTTP request may return.

const (
	// A parsing error occurred while an incoming message was being deserialized and appended to a message object. The headers of the incoming message may be formatted improperly.
	KCFStreamErrorHTTPParseFailure CFStreamErrorHTTP = -1
	// A redirection loop has been detected.
	KCFStreamErrorHTTPRedirectionLoop CFStreamErrorHTTP = -2
	// The URL is not properly formatted.
	KCFStreamErrorHTTPBadURL CFStreamErrorHTTP = -3
)

func (CFStreamErrorHTTP) String

func (e CFStreamErrorHTTP) String() string

String returns the CFStreamErrorHTTP constant's name, or its numeric form when the value is not a known constant.

type CFStreamErrorHTTPAuthentication

type CFStreamErrorHTTPAuthentication int32

Authentication error codes that may be returned when trying to apply authentication to a request.

const (
	// Specified authentication type is not supported.
	KCFStreamErrorHTTPAuthenticationTypeUnsupported CFStreamErrorHTTPAuthentication = -1000
	// User name is in a format that is not suitable for the request. Currently, user names are decoded using kCFStringEncodingISOLatin1.
	KCFStreamErrorHTTPAuthenticationBadUserName CFStreamErrorHTTPAuthentication = -1001
	// Password is in a format that is not suitable for the request. Currently, passwords are decoded using kCFStringEncodingISOLatin1.
	KCFStreamErrorHTTPAuthenticationBadPassword CFStreamErrorHTTPAuthentication = -1002
)

func (CFStreamErrorHTTPAuthentication) String

String returns the CFStreamErrorHTTPAuthentication constant's name, or its numeric form when the value is not a known constant.

type Clockid added in v0.17.0

type Clockid int32
const (
	ClockidRealtime           Clockid = 0
	ClockidMonotonic          Clockid = 6
	ClockidMonotonicRaw       Clockid = 4
	ClockidMonotonicRawApprox Clockid = 5
	ClockidUptimeRaw          Clockid = 8
	ClockidUptimeRawApprox    Clockid = 9
	ClockidProcessCputimeID   Clockid = 12
	ClockidThreadCputimeID    Clockid = 16
)

func (Clockid) String added in v0.17.0

func (e Clockid) String() string

String returns the Clockid constant's name, or its numeric form when the value is not a known constant.

type DispatchAutoreleaseFrequency added in v0.17.0

type DispatchAutoreleaseFrequency uint64
const (
	DispatchAutoreleaseFrequencyInherit  DispatchAutoreleaseFrequency = 0
	DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1
	DispatchAutoreleaseFrequencyNever    DispatchAutoreleaseFrequency = 2
)

func (DispatchAutoreleaseFrequency) String added in v0.17.0

String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.

type DispatchBlockFlags added in v0.17.0

type DispatchBlockFlags uint64

Bitmask — values may be combined with |.

const (
	DispatchBlockFlagsBarrier         DispatchBlockFlags = 1
	DispatchBlockFlagsDetached        DispatchBlockFlags = 2
	DispatchBlockFlagsAssignCurrent   DispatchBlockFlags = 4
	DispatchBlockFlagsNoQosClass      DispatchBlockFlags = 8
	DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16
	DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32
)

func (DispatchBlockFlags) String added in v0.17.0

func (e DispatchBlockFlags) String() string

String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.

type EntryID added in v0.17.0

type EntryID int32
const (
	EntryIDFirstEntry EntryID = 0
	EntryIDNextEntry  EntryID = -1
	EntryIDLastEntry  EntryID = -2
)

func (EntryID) String added in v0.17.0

func (e EntryID) String() string

String returns the EntryID constant's name, or its numeric form when the value is not a known constant.

type FilesecProperty added in v0.17.0

type FilesecProperty int32
const (
	FilesecPropertyOwner        FilesecProperty = 1
	FilesecPropertyGroup        FilesecProperty = 2
	FilesecPropertyUUID         FilesecProperty = 3
	FilesecPropertyMode         FilesecProperty = 4
	FilesecPropertyACL          FilesecProperty = 5
	FilesecPropertyGrpuuid      FilesecProperty = 6
	FilesecPropertyACLRaw       FilesecProperty = 100
	FilesecPropertyACLAllocsize FilesecProperty = 101
)

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.

type Flag added in v0.17.0

type Flag int32
const (
	FlagFlagDeferInherit      Flag = 1
	FlagFlagNoInherit         Flag = 131072
	FlagEntryInherited        Flag = 16
	FlagEntryFileInherit      Flag = 32
	FlagEntryDirectoryInherit Flag = 64
	FlagEntryLimitInherit     Flag = 128
	FlagEntryOnlyInherit      Flag = 256
)

func (Flag) String added in v0.17.0

func (e Flag) String() string

String returns the Flag constant's name, or its numeric form when the value is not a known constant.

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

const (
	MpoFlagsPort                        MpoFlags = 0
	MpoFlagsServicePort                 MpoFlags = 1024
	MpoFlagsConnectionPort              MpoFlags = 2048
	MpoFlagsReplyPort                   MpoFlags = 4096
	MpoFlagsWeakReplyPort               MpoFlags = 16384
	MpoFlagsNotificationPort            MpoFlags = 17408
	MpoFlagsExceptionPort               MpoFlags = 32768
	MpoFlagsConnectionPortWithPortArray MpoFlags = 65536
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type Perm added in v0.17.0

type Perm int32
const (
	PermReadData           Perm = 2
	PermListDirectory      Perm = 2
	PermWriteData          Perm = 4
	PermAddFile            Perm = 4
	PermExecute            Perm = 8
	PermSearch             Perm = 8
	PermDelete             Perm = 16
	PermAppendData         Perm = 32
	PermAddSubdirectory    Perm = 32
	PermDeleteChild        Perm = 64
	PermReadAttributes     Perm = 128
	PermWriteAttributes    Perm = 256
	PermReadExtattributes  Perm = 512
	PermWriteExtattributes Perm = 1024
	PermReadSecurity       Perm = 2048
	PermWriteSecurity      Perm = 4096
	PermChangeOwner        Perm = 8192
	PermSynchronize        Perm = 1048576
)

func (Perm) String added in v0.17.0

func (e Perm) String() string

String returns the Perm constant's name, or its numeric form when the value is not a known constant.

type PtrauthKey added in v0.17.0

type PtrauthKey int32
const (
	Ptrauth_key_none                     PtrauthKey = -1
	Ptrauth_key_asia                     PtrauthKey = 0
	Ptrauth_key_asib                     PtrauthKey = 1
	Ptrauth_key_asda                     PtrauthKey = 2
	Ptrauth_key_asdb                     PtrauthKey = 3
	Ptrauth_key_process_independent_code PtrauthKey = 0
	Ptrauth_key_process_dependent_code   PtrauthKey = 1
	Ptrauth_key_process_independent_data PtrauthKey = 2
	Ptrauth_key_process_dependent_data   PtrauthKey = 3
	Ptrauth_key_return_address           PtrauthKey = 1
	Ptrauth_key_frame_pointer            PtrauthKey = 3
	Ptrauth_key_function_pointer         PtrauthKey = 0
	Ptrauth_key_block_function           PtrauthKey = 0
	Ptrauth_key_cxx_vtable_pointer       PtrauthKey = 2
	Ptrauth_key_method_list_pointer      PtrauthKey = 2
	Ptrauth_key_objc_isa_pointer         PtrauthKey = 2
	Ptrauth_key_objc_super_pointer       PtrauthKey = 2
	Ptrauth_key_objc_sel_pointer         PtrauthKey = 3
	Ptrauth_key_objc_class_ro_pointer    PtrauthKey = 2
	Ptrauth_key_block_descriptor_pointer PtrauthKey = 2
	Ptrauth_key_init_fini_pointer        PtrauthKey = 0
)

func (PtrauthKey) String added in v0.17.0

func (e PtrauthKey) String() string

String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

type Tag added in v0.17.0

type Tag int32
const (
	TagUndefinedTag  Tag = 0
	TagExtendedAllow Tag = 1
	TagExtendedDeny  Tag = 2
)

func (Tag) String added in v0.17.0

func (e Tag) String() string

String returns the Tag constant's name, or its numeric form when the value is not a known constant.

type Type added in v0.17.0

type Type int32
const (
	TypeExtended Type = 256
	TypeAccess   Type = 0
	TypeDefault  Type = 1
	TypeAfs      Type = 2
	TypeCoda     Type = 3
	TypeNtfs     Type = 4
	TypeNwfs     Type = 5
)

func (Type) String added in v0.17.0

func (e Type) String() string

String returns the Type constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL