contract

package
v0.5.2-0...-162e27b Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 1 Imported by: 0

README

  1. Run go generate in this directory
  2. Remove unused imports from ./server/hello_api.gen.go
  3. go run ./server
  4. cd webapp && npm start

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Empty

type Empty struct {
}

type ExampleService

type ExampleService interface {
	Ping(ctx context.Context) (bool, error)
	GetUser(ctx context.Context, userID uint64) (*User, error)
	FindUsers(ctx context.Context, q string) (*Page, []*User, error)
}

type Kind

type Kind uint32

type Page

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

type User

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

Directories

Path Synopsis
-- This file has been generated by https://github.com/webrpc/webrpc using gen/golang Do not edit by hand.
-- This file has been generated by https://github.com/webrpc/webrpc using gen/golang Do not edit by hand.

Jump to

Keyboard shortcuts

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