// Code generated by protoc-gen-go-micro. DO NOT EDIT. // versions: // - protoc-gen-go-micro v3.5.3 // - protoc v3.21.12 // source: github.proto package pb import ( context "context" api "go.unistack.org/micro/v3/api" client "go.unistack.org/micro/v3/client" ) var ( GithubName = "Github" GithubEndpoints = []api.Endpoint{ { Name: "Github.LookupUser", Path: []string{"/users/{username}"}, Method: []string{"GET"}, Handler: "rpc", }, { Name: "Github.LookupUserWithoutPath", Path: []string{"/{username}"}, Method: []string{"GET"}, Handler: "rpc", }, } ) func NewGithubEndpoints() []api.Endpoint { return GithubEndpoints } type GithubClient interface { LookupUser(ctx context.Context, req *LookupUserReq, opts ...client.CallOption) (*LookupUserRsp, error) LookupUserWithoutPath(ctx context.Context, req *LookupUserReq, opts ...client.CallOption) (*LookupUserRsp, error) } type GithubServer interface { LookupUser(ctx context.Context, req *LookupUserReq, rsp *LookupUserRsp) error LookupUserWithoutPath(ctx context.Context, req *LookupUserReq, rsp *LookupUserRsp) error }