MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / SetOtherInfo

Method SetOtherInfo

model/channel.go:208–215  ·  view source on GitHub ↗
(otherInfo map[string]interface{})

Source from the content-addressed store, hash-verified

206}
207
208func (channel *Channel) SetOtherInfo(otherInfo map[string]interface{}) {
209 otherInfoBytes, err := json.Marshal(otherInfo)
210 if err != nil {
211 common.SysError("failed to marshal other info: " + err.Error())
212 return
213 }
214 channel.OtherInfo = string(otherInfoBytes)
215}
216
217func (channel *Channel) GetTag() string {
218 if channel.Tag == nil {

Callers 2

handlerMultiKeyUpdateFunction · 0.80
UpdateChannelStatusFunction · 0.80

Calls 2

SysErrorFunction · 0.92
ErrorMethod · 0.80

Tested by

no test coverage detected