<commit_before>/*
Go micro provides a pluggable library to build microservices.

	import (
		micro "github.com/micro/go-micro"
	)

	service := micro.NewService()
	h := service.Server().NewHandler(&Greeter{})
	service.Server().Handle(h)
	service.Run()


	req := service.Client().NewRequest(service, method, request)
	rsp := response{}
	err := service.Client().Call(req, rsp)

*/

package micro

import (
	"github.com/micro/go-micro/client"
	"github.com/micro/go-micro/server"

	"golang.org/x/net/context"
)

type serviceKey struct{}

// Service is an interface that wraps the lower level libraries
// within go-micro. Its a convenience method for building
// and initialising services.
type Service interface {
	Init(...Option)
	Options() Options
	Client() client.Client
	Server() server.Server
	Run() error
	String() string
}

type Option func(*Options)<commit_msg>update package level comment<commit_after>// Package micro is a pluggable RPC framework for microservices
package micro

import (
	"github.com/micro/go-micro/client"
	"github.com/micro/go-micro/server"

	"golang.org/x/net/context"
)

type serviceKey struct{}

// Service is an interface that wraps the lower level libraries
// within go-micro. Its a convenience method for building
// and initialising services.
type Service interface {
	Init(...Option)
	Options() Options
	Client() client.Client
	Server() server.Server
	Run() error
	String() string
}

type Option func(*Options)
{'fraction_non_alphanumeric': 0.12387543252595155, 'fraction_numerical': 0.0, 'mean_word_length': 4.239130434782608, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5745477', 'n_tokens_mistral': 463, 'n_tokens_neox': 436, 'n_words': 134}