server

package
v0.0.0-...-bd2d169 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedirectServer

type RedirectServer struct {
	pb.UnimplementedRedirectServiceServer
	// contains filtered or unexported fields
}

func NewRedirectServer

func NewRedirectServer() *RedirectServer

func (*RedirectServer) CreateRedirect

func (redirectServer *RedirectServer) CreateRedirect(ctx context.Context, in *pb.CreateRedirectRequest) (*pb.CreateRedirectRespond, error)

func (*RedirectServer) Redirect

func (redirectServer *RedirectServer) Redirect(ctx context.Context, in *pb.RedirectRequest) (*pb.RedirectRespond, error)

Jump to

Keyboard shortcuts

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