visitor

package
v0.0.0-...-b6dd5f9 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package visitor provides an implementation of the visitor pattern.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() types.IVisitor

New returns a new visitor.

Types

type Visitor

type Visitor struct{}

Visitor represents the visitor interface.

func (*Visitor) VisitGreeterService

func (v *Visitor) VisitGreeterService(ctx context.Context, mux cvzruntime.IServeMux, service types.IService) error

VisitGreeterService visits the greeter service.

Jump to

Keyboard shortcuts

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