grpc

package
v0.0.0-...-39d4010 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	url.UnimplementedUrlServer
	// contains filtered or unexported fields
}

func NewAdapter

func NewAdapter(api ports.APIPort, port int) *Adapter

func (Adapter) Create

func (a Adapter) Create(ctx context.Context, request *url.CreateUrlRequest) (*url.CreateUrlResponse, error)

func (Adapter) Run

func (a Adapter) Run()

func (Adapter) Stop

func (a Adapter) Stop()

Jump to

Keyboard shortcuts

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