helloworld

package
v0.0.0-...-8bd1ac3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminService

type AdminService struct {
}

func (*AdminService) HelloAdmin

func (s *AdminService) HelloAdmin() string

type AdminServiceGoTSRPCClient

type AdminServiceGoTSRPCClient interface {
	HelloAdmin() (retHelloAdmin_0 string, clientErr error)
	SetClientEncoding(encoding gotsrpc.ClientEncoding)
	SetTransportHttpClient(client *net_http.Client)
}

func NewAdminServiceGoTSRPCClient

func NewAdminServiceGoTSRPCClient(url string, endpoint string) AdminServiceGoTSRPCClient

func NewAdminServiceGoTSRPCClientWithClient

func NewAdminServiceGoTSRPCClientWithClient(url string, endpoint string, client *net_http.Client) AdminServiceGoTSRPCClient

func NewDefaultAdminServiceGoTSRPCClient

func NewDefaultAdminServiceGoTSRPCClient(url string) AdminServiceGoTSRPCClient

type AdminServiceGoTSRPCProxy

type AdminServiceGoTSRPCProxy struct {
	EndPoint string
	// contains filtered or unexported fields
}

func NewAdminServiceGoTSRPCProxy

func NewAdminServiceGoTSRPCProxy(service *AdminService, endpoint string, allowOrigin []string) *AdminServiceGoTSRPCProxy

func NewDefaultAdminServiceGoTSRPCProxy

func NewDefaultAdminServiceGoTSRPCProxy(service *AdminService, allowOrigin []string) *AdminServiceGoTSRPCProxy

func (*AdminServiceGoTSRPCProxy) ServeHTTP

ServeHTTP exposes your service

type Service

type Service struct {
}

func (*Service) HelloWorld

func (s *Service) HelloWorld(name string) string

type ServiceGoTSRPCClient

type ServiceGoTSRPCClient interface {
	HelloWorld(name string) (retHelloWorld_0 string, clientErr error)
	SetClientEncoding(encoding gotsrpc.ClientEncoding)
	SetTransportHttpClient(client *net_http.Client)
}

func NewDefaultServiceGoTSRPCClient

func NewDefaultServiceGoTSRPCClient(url string) ServiceGoTSRPCClient

func NewServiceGoTSRPCClient

func NewServiceGoTSRPCClient(url string, endpoint string) ServiceGoTSRPCClient

func NewServiceGoTSRPCClientWithClient

func NewServiceGoTSRPCClientWithClient(url string, endpoint string, client *net_http.Client) ServiceGoTSRPCClient

type ServiceGoTSRPCProxy

type ServiceGoTSRPCProxy struct {
	EndPoint string
	// contains filtered or unexported fields
}

func NewDefaultServiceGoTSRPCProxy

func NewDefaultServiceGoTSRPCProxy(service *Service, allowOrigin []string) *ServiceGoTSRPCProxy

func NewServiceGoTSRPCProxy

func NewServiceGoTSRPCProxy(service *Service, endpoint string, allowOrigin []string) *ServiceGoTSRPCProxy

func (*ServiceGoTSRPCProxy) ServeHTTP

func (p *ServiceGoTSRPCProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP exposes your service

Jump to

Keyboard shortcuts

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