Documentation
¶
Overview ¶
This file is part of manifold. Manifold is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Manifold is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with manifold. If not, see <https://www.gnu.org/licenses/>.
Index ¶
- type ComparisonOutg
- type IdComparisonInc
- type Puppet
- type PuppetConfig
- type VkUnit
- func (v *VkUnit) GetApi(local id.Id) *api.VK
- func (v *VkUnit) GetHeader(msg events.MsgEvent) string
- func (v *VkUnit) GetIncId(vkid int) (id.Id, error)
- func (v *VkUnit) GetPeerId(local id.Id) int
- func (v *VkUnit) Init(ucontxt *units.UnitContext) error
- func (v *VkUnit) Run(group *errgroup.Group, ctx context.Context) error
- func (v *VkUnit) Stop() error
- type VkUnitConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComparisonOutg ¶
type IdComparisonInc ¶
type PuppetConfig ¶
type VkUnit ¶
type VkUnit struct {
// contains filtered or unexported fields
}
func NewVkUnit ¶
func NewVkUnit(config VkUnitConfig) VkUnit
type VkUnitConfig ¶
type VkUnitConfig struct { Token string PeerId int UsersInc []IdComparisonInc UsersOutg []ComparisonOutg Puppet []PuppetConfig }