Skip to content

Latest commit

 

History

History
231 lines (153 loc) · 4.21 KB

File metadata and controls

231 lines (153 loc) · 4.21 KB

API Reference

简体中文 | Docs Index

This inventory is generated from go doc -short for the packages in this repository. It is a quick public-surface map; source files and tests remain the authority for exact semantics.

Packages

gnalloy.org/examples/bench-client

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/custom-ip-proto

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/doq-query

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/echo

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/fixed-length

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/http1

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/icmp-ping

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/internal/benchclient

Package name: benchclient

var ErrInvalidProtocol = errors.New("gnalloy/examples: invalid bench protocol") ...
type Config struct{ ... }
type Protocol string
    const ProtocolRaw Protocol = "raw" ...
type Result struct{ ... }
    func Run(ctx context.Context, cfg Config) (Result, error)

gnalloy.org/examples/internal/exampleconfig

Package name: exampleconfig

var ErrInvalidBackend = errors.New("gnalloy/examples: invalid backend") ...
func BackendLabel(backend transport.BackendKind) string
func ParseBackend(name string) (transport.BackendKind, error)
type Options struct{ ... }
    func Register(fs *flag.FlagSet, defaultAddr string) *Options

gnalloy.org/examples/internal/smokeclient

Package name: smokeclient

var ErrInvalidProtocol = errors.New("gnalloy/examples: invalid smoke protocol") ...
func Run(ctx context.Context, cfg Config) error
type Config struct{ ... }
type Protocol string
    const ProtocolRaw Protocol = "raw" ...

gnalloy.org/examples/internal/stresscheck

Package name: stresscheck

const ProtocolBoth stressclient.Protocol = "both"
var ErrLeakDetected = errors.New("gnalloy/examples: stress leak detected") ...
type Config struct{ ... }
type Result struct{ ... }
    func Run(ctx context.Context, cfg Config) (Result, error)

gnalloy.org/examples/internal/stressclient

Package name: stressclient

var ErrInvalidProtocol = errors.New("gnalloy/examples: invalid stress protocol") ...
type Config struct{ ... }
type Protocol string
    const ProtocolRaw Protocol = "raw" ...
type Result struct{ ... }
    func Run(ctx context.Context, cfg Config) (Result, error)
type Scenario string
    const ScenarioLong Scenario = "long" ...

gnalloy.org/examples/length-field

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/line-frame

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/mqtt-frame

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/parity-bench

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/protobuf-varint

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/protocol-exchange

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/raw-ip-dump

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/redis-resp

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/smoke-client

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/stress-check

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/stress-client

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/udp-echo

Package name: main

(no exported API reported by go doc)

gnalloy.org/examples/websocket

Package name: main

(no exported API reported by go doc)