api

package
v0.0.0-...-ba8b10c Latest Latest
Warning

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

Go to latest
Published: May 31, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForwardHttpHeaders

func ForwardHttpHeaders(h http.Handler) http.Handler

ForwardHttpHeaders forwards header from http request to twirp request

func NewAuthHook

func NewAuthHook() *twirp.ServerHooks

func RunServer

func RunServer()

Types

type Server

type Server struct {
}

func (*Server) SayHello

func (s *Server) SayHello(ctx context.Context, req *pdefs.ReqHello) (*pdefs.ResHello, error)

Jump to

Keyboard shortcuts

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