> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/hyperledger_code_fabric/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/hyperledger_code_fabric/orderer/common/multichannel/registrar_go.md).

# registrar.go

Registrar 结构是网络中所有channel的管理句柄。

```
// Registrar serves as a point of access and control for the individual channel resources.
type Registrar struct {
    chains          map[string]*ChainSupport
    consenters      map[string]consensus.Consenter
    ledgerFactory   blockledger.Factory
    signer          crypto.LocalSigner
    systemChannelID string
    systemChannel   *ChainSupport
    templator       msgprocessor.ChannelConfigTemplator
    callbacks       []func(bundle *channelconfig.Bundle)
}
```
