common

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeTestHelloEndpoint

func MakeTestHelloEndpoint(svc Server) (ep endpoint.Endpoint)

Types

type Server

type Server interface {
	Hello(name string) (ret string, err error)
}

type TestServer

type TestServer struct {
	// contains filtered or unexported fields
}

func NewTestServer

func NewTestServer(host string) *TestServer

func (*TestServer) Hello

func (s *TestServer) Hello(name string) (ret string, err error)

type UserData

type UserData struct {
	Foo string `json:"foo"`
}

func (UserData) Headers

func (e UserData) Headers() http.Header

Jump to

Keyboard shortcuts

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