schemas

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 14 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin added in v1.0.1

type Admin struct{}

Legacy is a struct

func (*Admin) Do added in v1.0.1

func (r *Admin) Do(b *rf.Context)

Do

func (*Admin) URLPatterns added in v1.0.1

func (r *Admin) URLPatterns() []rf.Route

URLPatterns helps to respond for corresponding API calls

type EmployServer

type EmployServer struct{}

EmployServer is a struct

func (*EmployServer) AddEmploy

AddEmploy 这里实现服务端接口中的方法。

func (*EmployServer) DeleteEmploys

func (s *EmployServer) DeleteEmploys(ctx context.Context, in *employ.EmployRequest) (*employ.EmployResponse, error)

DeleteEmploys is a method used to delete employ

func (*EmployServer) EditEmploy

EditEmploy is a method used to edit employ

func (*EmployServer) GetEmploys

GetEmploys is a method used to get employs

type Hello added in v1.0.1

type Hello struct{}

Hello is a struct used for implementation of restfull hello program

func (*Hello) Hello added in v1.0.1

func (r *Hello) Hello(b *rf.Context)

Hello

func (*Hello) URLPatterns added in v1.0.1

func (r *Hello) URLPatterns() []rf.Route

URLPatterns helps to respond for corresponding API calls

type HelloServer

type HelloServer struct {
}

HelloServer is a struct

func (*HelloServer) SayHello

SayHello is a method used to reply message

type Legacy added in v1.0.1

type Legacy struct{}

Legacy is a struct

func (*Legacy) Do added in v1.0.1

func (r *Legacy) Do(b *rf.Context)

Do

func (*Legacy) URLPatterns added in v1.0.1

func (r *Legacy) URLPatterns() []rf.Route

URLPatterns helps to respond for corresponding API calls

type RestFulHello

type RestFulHello struct {
}

RestFulHello is a struct used for implementation of restfull hello program

func (*RestFulHello) Root added in v0.7.1

func (r *RestFulHello) Root(b *rf.Context)

Sayhello is a method used to reply user with hello

func (*RestFulHello) SayJSON

func (r *RestFulHello) SayJSON(b *rf.Context)

SayJSON is a method used to reply user hello in json format

func (*RestFulHello) Sayhello

func (r *RestFulHello) Sayhello(b *rf.Context)

Sayhello is a method used to reply user with hello

func (*RestFulHello) Sayhi

func (r *RestFulHello) Sayhi(b *rf.Context)

Sayhi is a method used to reply user with hello world text

func (*RestFulHello) URLPatterns

func (r *RestFulHello) URLPatterns() []rf.Route

URLPatterns helps to respond for corresponding API calls

type RestFulMessage

type RestFulMessage struct {
}

RestFulMessage is a struct used to implement restful message

func (*RestFulMessage) Sayerror

func (r *RestFulMessage) Sayerror(b *rf.Context)

Sayerror is a method used to reply request user with error

func (*RestFulMessage) Sayhi

func (r *RestFulMessage) Sayhi(b *rf.Context)

Sayhi is a method used to reply request user with hello world text

func (*RestFulMessage) Saymessage

func (r *RestFulMessage) Saymessage(b *rf.Context)

Saymessage is used to reply user with his name

func (*RestFulMessage) URLPatterns

func (r *RestFulMessage) URLPatterns() []rf.Route

URLPatterns helps to respond for corresponding API calls

type RestFulRouterA added in v1.0.1

type RestFulRouterA struct {
}

RestFulRouterA is a struct used for implementation of restfull router program

func (*RestFulRouterA) Equal added in v1.0.1

func (r *RestFulRouterA) Equal(context *restful.Context)

Equal is method to compare given num and slice sum

func (*RestFulRouterA) Info added in v1.0.1

func (r *RestFulRouterA) Info(context *restful.Context)

Info is a method used to reply version information

func (*RestFulRouterA) Operation added in v1.0.1

func (r *RestFulRouterA) Operation(context *restful.Context)

Operation is method to add two num sum

func (*RestFulRouterA) Say added in v1.0.1

func (r *RestFulRouterA) Say(context *restful.Context)

Say is method to reply version A say some info

func (*RestFulRouterA) URLPatterns added in v1.0.1

func (r *RestFulRouterA) URLPatterns() []restful.Route

URLPatterns helps to respond for corresponding API calls

type RestFulRouterB added in v1.0.1

type RestFulRouterB struct {
}

RestFulRouterB is a struct used for implementation of restfull router program

func (*RestFulRouterB) Equal added in v1.0.1

func (r *RestFulRouterB) Equal(context *restful.Context)

Equal is method to compare given num and slice product

func (*RestFulRouterB) Info added in v1.0.1

func (r *RestFulRouterB) Info(context *restful.Context)

Info is a method used to reply version information

func (*RestFulRouterB) Operation added in v1.0.1

func (r *RestFulRouterB) Operation(context *restful.Context)

Operation is method to calculate two num product

func (*RestFulRouterB) Say added in v1.0.1

func (r *RestFulRouterB) Say(context *restful.Context)

Say is method to reply version B say some info

func (*RestFulRouterB) URLPatterns added in v1.0.1

func (r *RestFulRouterB) URLPatterns() []restful.Route

URLPatterns helps to respond for corresponding API calls

type TracingHello added in v0.8.1

type TracingHello struct {
}

TracingHello is a struct

func (*TracingHello) Trace added in v0.8.1

func (r *TracingHello) Trace(b *rf.Context)

Trace is a method

func (*TracingHello) URLPatterns added in v0.8.1

func (r *TracingHello) URLPatterns() []rf.Route

URLPatterns helps to respond for corresponding API calls

Directories

Path Synopsis
Package employ is a generated protocol buffer package.
Package employ is a generated protocol buffer package.
Package helloworld is a generated protocol buffer package.
Package helloworld is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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