vhost

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package vhost allows virtual-host mappings to be managed.

Index

Constants

This section is empty.

Variables

Set is used by wire.

Functions

This section is empty.

Types

type Server

type Server struct {
	DB                       *pgxpool.Pool
	Logger                   *log.Logger
	vhost.UnsafeVHostsServer `wire:"-"`
}

Server allows virtual host mappings to be configured.

func (*Server) Ensure

func (s *Server) Ensure(ctx context.Context, req *vhost.EnsureRequest) (*emptypb.Empty, error)

Ensure implements vhost.VHostsServer.

func (*Server) List

func (s *Server) List(_ *emptypb.Empty, out vhost.VHosts_ListServer) error

List implements vhost.VHostsServer.

Jump to

Keyboard shortcuts

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