Documentation ¶
Index ¶
Constants ¶
View Source
const (
HostNotExist = "host not exist"
)
Variables ¶
This section is empty.
Functions ¶
func HostNotExistError ¶
Types ¶
type ClientBuilder ¶
type ClientBuilder struct {
// contains filtered or unexported fields
}
func NewClientBuilder ¶
func NewClientBuilder() *ClientBuilder
func (*ClientBuilder) Build ¶
func (builder *ClientBuilder) Build() gotten.Client
func (*ClientBuilder) Register ¶
func (builder *ClientBuilder) Register(base string, handler http.Handler)
base: host or host:port
func (*ClientBuilder) RegisterFunc ¶
func (builder *ClientBuilder) RegisterFunc(base string, handler http.HandlerFunc)
type ClientImpl ¶
type ClientImpl struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.