Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegisterGRPCService

type RegisterGRPCService func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error

    RegisterGRPCService registers a grpc server to proxy through mux.

    type Runnable

    type Runnable struct {
    	Register       RegisterGRPCService
    	FromAddress    string
    	ToAddress      string
    	AllowedOrigins []string
    }

      Runnable proxies a grpc service through http.

      func (*Runnable) Run

      func (s *Runnable) Run(m *runmanager.RunManager)

        Run runs the given grpc proxy as a runnable service.

        Source Files